Technoboy- commented on PR #21001: URL: https://github.com/apache/pulsar/pull/21001#issuecomment-1680294228
Leave another solution: ``` 1. https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html 2. bin/elasticsearch-certutil ca --pem --out cacert.zip --days 36500 -s --ca-dn "CN=localhost" 3. unzip cacert.zip 4. in/elasticsearch-certutil cert --ca-cert cacert/cacert.crt --ca-key cacert/cacert.key --pem --name localhost --out localhost.zip --days 36500 -s 5. cd localhost 6. openssl x509 -in cacert/localhost.crt -out elasticsearch.pem 7. keytool -import -alias truststore -file localhost.crt -keystore truststore.jks - password: changeit 8. keytool -import -alias keystore -file localhost.crt -keystore keystore.jks - password: changeit 9. mv localhost.crt elasticsearch.crt mv localhost.key elasticsearch.key 10. mv ./ cacert/.* . ``` -- 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]
