Hi.
This is not a B4J question but it is related to using certificates. Actually I was asked to use a specific certificate to a B4J WebApp. I ask it here because there is people that have some expirience with SSL.
I do have a specific pfx certificate. I do add it to .keystore using the following command (I found it here -> java - How to convert .pfx file to keystore with private key? - Stack Overflow):
I then “link” it to a web application. The application loads fine. But the certificate show as unsecure. When I see the certificate I see a difference compared to the original one:
On the left side the original, on the right side the one generated with keytool and used by Jetty. Does anyone knows why the private key that corresponds to the certificate is missing?
Thanks.
Andreas.
This is not a B4J question but it is related to using certificates. Actually I was asked to use a specific certificate to a B4J WebApp. I ask it here because there is people that have some expirience with SSL.
I do have a specific pfx certificate. I do add it to .keystore using the following command (I found it here -> java - How to convert .pfx file to keystore with private key? - Stack Overflow):
keytool -importkeystore -srckeystore <mypfxfile>.pfx -srcstoretype pkcs12
I then “link” it to a web application. The application loads fine. But the certificate show as unsecure. When I see the certificate I see a difference compared to the original one:
On the left side the original, on the right side the one generated with keytool and used by Jetty. Does anyone knows why the private key that corresponds to the certificate is missing?
Thanks.
Andreas.