jamesnetherton commented on code in PR #5463: URL: https://github.com/apache/camel-quarkus/pull/5463#discussion_r1377775532
########## integration-tests/platform-http/README.adoc: ########## @@ -1,15 +1,37 @@ # Generating server SSL certificates and trust store -1. Generate the certificate keypair +* The CA is self-signed: -When prompted for the 'Common Name', use localhost. The other prompts can be skipped. +When prompted for certificate information, everything is default. +``` +$ openssl genrsa -out ca.key 2048 +$ openssl req -x509 -new -key ca.key -nodes -out ca.pem -config ca-openssl.cnf -days 3650 -extensions v3_req +``` + +* Server certificate issued by CA: + +``` +$ openssl genrsa -out server.key.rsa 2048 +$ openssl pkcs8 -topk8 -in server.key.rsa -out server.key -nocrypt +$ rm server.key.rsa +``` + +When prompted for certificate information, everything is default except the common name which is set to _localhost_ for simple testing. +``` +$ openssl req -new -key server.key -out server.csr +$ openssl x509 -req -in server.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out server.pem -outform PEM -days 5000 +``` + +* Rename files ``` -openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout src/main/resources/server-key.pem -out src/main/resources/server-cert.pem +$ mv server.pem server-cert.pem +$ mv server.key server-key.pem ``` -2. Generate the PKCS12 trust store +* Generate the PKCS12 trust store +When prompted for pssword, value is _s3cr3t_. Review Comment: ```suggestion When prompted for a password, the value is _s3cr3t_. ``` -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org