keytool -genkey -alias buildforge -keyalg RSA -keysize 2048 -validity 5475 -dname "CN=<hostname>.domain>" -keystore buildForgeKeyStore.p12 -storepass ****PASS**** -storetype pkcs12 -alias graylog2
keytool -importkeystore -deststorepass "***PASS***" -destkeypass "***PASS***" -destkeystore graylog.keystore -srckeystore /tmp/buildForgeKeyStore.p12 -srcstoretype PKCS12 -srcstorepass "***PASS***" -alias graylog2 openssl req -x509 -days 365 -nodes -newkey rsa:2048 -keyout pkcs5-plain.pem -out cert.pem openssl pkcs8 -in pkcs5-plain.pem -topk8 -nocrypt -out pkcs8-plain.pem openssl pkcs8 -in pkcs5-plain.pem -topk8 -v2 des3 -out pkcs8-encrypted.pem -passout pass:secret keytool -list -v -keystore graylog.keystore -alias graylog2 keytool -importkeystore -srckeystore graylog.keystore -destkeystore keystore.p12 -deststoretype PKCS12 openssl pkcs12 -in keystore.p12 -nokeys -out graylog-certificate.pem openssl pkcs12 -in keystore.p12 -nocerts -out graylog-pkcs5.pem openssl pkcs8 -in graylog-pkcs5.pem -topk8 -out graylog-key.pem head graylog-key.pem graylog-certificate.pem If you have some error with proxiedresource, maybe you should ask for certificate wildcard from your company and do the following: keytool -import -trustcacerts -file company-certificate.cer -alias company -keystore $JAVA_HOME/jre/lib/security/cacerts -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/4bcca715-e0ce-435c-9f61-aface28528ae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
