Hello,
we use a SSL secured Bitbucket installation. The certificate was signed by our IT services provider and I imported it into the Bitbucket keystore.
Now the certificate expired, leading to security alerts in all browsers. I had a new certificate provided and wanted to import it to the keystore using:
keytool -import -alias tomcat -file certname.cer -keystore shared\config\ssl-keystore
after entering the password I get:
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
if I use the same with
certname.pfx I get:
keytool error: java.security.cert.CertificateParsingException: signed fields invalid
Since our IT Provider has no knowledge with Bitbucket it was all returned to me.
Is there something wrong with the certificate, or with the methode? I got the old certificate running, but this one wont.
Thanks in advance.