Java Spring boot application SSL error with certificate and keystore

I have a problem when for HTTPS I need to run the Spring Boot Service application. This works fine locally with a self-signed certificate added to my keystore.

When this is deployed to the production server and the live trusted signed certificate is added to the keystore on the production server, the application does not work on HTTPS. The application starts normally, but switching to the working URL in HTTPS does not return a response.

Using openssl on a production server results in

openssl s_client -connect localhost: 8888

CONNECTED (00000003)

140401679677256: error: 140790E5: SSL procedures: SSL23_WRITE: handshake failure ssl: s23_lib.c: 177:

no peer certificates available

Missing client certificate CA name

SSL confirmation read 0 bytes and 263 bytes written

New, (NONE), Cipher (NONE) Secure re-negotiation NOT supported. Compression: NO

Extension: NONE

I do not have access to the server.

Is there a way by which I can test the local certificate and key store locally and solve the problem? I can get a copy of the keystore from production just by not accessing the server directly.

Thank.

+4
source share

All Articles