tdiesler commented on code in PR #103: URL: https://github.com/apache/camel-k-examples/pull/103#discussion_r1632844144
########## generic-examples/http/README.md: ########## @@ -38,6 +38,14 @@ Alternatively, you could run: `curl http://<service-location>/hello`. This integration requires a Keystore and a Truststore. Open [NettySecureServer.java](./NettySecureServer.java) to find instructions on how to generate a required `keystore.jks` and `truststore.jks` file. For this example, keystore and truststore password is `changeit` +Generate keystore.jks and truststore.jks (for this example, keystore and truststore password = changeit): + +```shell +keytool -genkeypair -alias EntryName -keyalg RSA -keysize 2048 -keystore keystore.jks +keytool -exportcert -alias EntryName -keystore keystore.jks -rfc -file public.cert +keytool -import -alias EntryName -file public.cert -storetype JKS -keystore truststore.jks +``` + Review Comment: ok, done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
