This content has been marked as final.
Show 1 reply
-
1. Re: Wildfly 8.2: importing wildcard certificate, intermediate certificate missing
chrisvoo Aug 28, 2015 3:46 AM (in response to chrisvoo)Here is it the answer for your convenience:
cat ca.pem /etc/ssl/certs/ca-certificates.crt > allcacerts.pem # to avoid openssl errors we bind together CA cert with all cacerts
openssl pkcs12 -export -chain -in public.pem -inkey private.pem -out server.p12 -name server -CAfile allcacerts.pem -caname root
keytool -importkeystore -deststorepass YOURPASS -destkeypass YOURPASS -destkeystore my.keystore -srckeystore server.p12 -srcstoretype PKCS12 -srcstorepass YOURPASS -alias YOURALIAS