On Wed, Apr 17, 2019 at 9:20 AM Sean Dawson <seandawson2...@gmail.com>
wrote:

>
> Hello, I have a widlcard certificate from GoDaddy. Can I use this with
> Tomcat? (8.5)
>
> I have the files crt (primary certificate?), p7b (intermediate?), pfx
> (private key?), and a .key file. I did not generate a certificate request
> prior to this.
>
> Google is telling me that either I need to generate a certificate request
> first, or it's telling everything I need to know about wildcard
> certificates except how to use the above files.
>
> This is for Tomcat 8.5 with Java 8 on CentOS 7, and Windows Server 2016.
>
> Thank you.
>
>
Ok just for others' benefit if they want to go this way, I was able to get
it working by concatenating the .key and the .crt file into one .pem. Then
do this:

openssl pkcs12 -export -in combined.pem -out cert.p12

And then this:

keytool -importkeystore -srckeystore cert.p12 -srcstoretype pkcs12
-destkeystore cert.jks

(from this page:
https://stackoverflow.com/questions/22296312/convert-certificate-from-pem-into-jks
)

Sorry for the earlier top posting.

Reply via email to