Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document replacing of certificates in .jar files #2

Open
jara001 opened this issue Mar 30, 2022 · 1 comment
Open

Document replacing of certificates in .jar files #2

jara001 opened this issue Mar 30, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@jara001
Copy link
Owner

jara001 commented Mar 30, 2022

The certificates in .jar files can be replaced without clean-building the core with:

mkdir -p ./BOOT-INF/classes/certificates/
cp ./certificates/* ./BOOT-INF/classes/certificates/
find ./core-java-spring/ -maxdepth 4 -name *\.jar | xargs -n 1 -I'{}' zip -0 '{}' ./BOOT-INF/classes/certificates/*
rm -rf ./BOOT-INF
@jara001 jara001 added the documentation Improvements or additions to documentation label Mar 30, 2022
@jara001
Copy link
Owner Author

jara001 commented Apr 6, 2022

Of course, the certificates are generated using:

PASSWORD=1111 DOMAIN="aitia" CLOUD="testcloud2" FOLDER="../certificates/" SAN="ip:127.0.0.1,dns:localhost" bash ./ah-certgen/generate.sh service_registry authorization gateway event_handler datamanager gatekeeper orchestrator choreographer certificate_authority onboarding_controller device_registry system_registry translator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant