Linked Questions
15 questions linked to/from Java SSLHandshakeException: no cipher suites in common
293 votes
16 answers
680k views
How to import an existing X.509 certificate and private key in Java keystore to use in SSL?
I have a pair of X.509 cert and a key file. How do I import those two in a single keystore? All examples I could Google always generate the key themselves, but I already have a key. I have tried: ...
112 votes
7 answers
286k views
How can I create keystore from an existing certificate (abc.crt) and abc.key files?
I am trying to import a certificate and a key file into the keystore but I'm unable to do that. How can I create a keystore by importing both an existing certificate (abc.crt) and abc.key files?
78 votes
2 answers
220k views
Importing the private-key/public-certificate pair in the Java KeyStore [duplicate]
I used the following steps to create a new Java keystore with a pair of private/public key to be used by a Java (internal) server with TLS. Please notice that the certificate is selfsigned: 1) ...
26 votes
2 answers
132k views
How to convert certificate from PEM to JKS?
I have to convert a certificate in PEM format into an Java key store. To use this one with tomcat at a windows server I've got those files: cert_request.csr -----BEGIN CERTIFICATE REQUEST----- ......
1 vote
2 answers
8k views
When using a custom X509KeyManager Java is not able to determine a matching cipher suite for the SSL handshake
I'm working with Java7 and JAX-WS 2.2. For a SOAP web service I need to create a custom X509KeyManager in order to find the correct certificate for each connecting client in a JKS keystore. However, ...
4 votes
1 answer
9k views
spring boot https with valid cert get ERR_SSL_VERSION_OR_CIPHER_MISMATCH, self signed works fine
I am Running Spring Boot 1.4.0.RELEASE. I got a valid cert from my IT dept. I Generated a tomcat keystore.jks file using the IT_cert.cer keytool -keystore tomcat-keystore.jks -storepass password -...
2 votes
1 answer
11k views
How to create keystore from cer files?
I have a problem with the creation of keystore from cer files. I have three files: NameCertyfikat2015.cer NameIntermediateCA.cer NamePrivateKey.txt And I want to get jks Keystore file. How can I do ...
1 vote
1 answer
10k views
How to add SSL certificates to cacerts and keystore?
I created a CSR file using openssl req -nodes -newkey rsa:2048 -keyout yourdomain.key -out yourdomain.csr –sha256 It created a CSR file and a key file. I submitted the CSR file to a CA. They ...
2 votes
1 answer
4k views
How to make https://localhost:port use self-signed certificate in embedded Jetty?
Goal: I want this url ( https://localhost:8083 ) to use my self-signed certiciate on my localmachine. First, I referenced this url (https://gist.github.com/oslego/f13e136ffeaa6174289a) and what I did ...
1 vote
1 answer
3k views
How to fix ERR_SSL_VERSION_OR_CIPHER_MISMATCH on JBoss 6?
I'm setting up a key for HTTPS in JBoss 6 and it keeps showing me the error ERR_SSL_VERSION_OR_CIPHER_MISMATCH The certificate is valid. I created the jks using this command: keytool -import -...
0 votes
1 answer
2k views
ssl setup in embedded tomcat Spring boot
I have a ssl certicate provided by globalsign. I want to import the certificate to use it with tomcat. I am doing the following operation Importing chain certificate keytool -import -alias root11 -...
0 votes
1 answer
2k views
Configuration SSL Tomcat 7 importing comodo apache certificates
I used openssl to generate a csr and key file, I buy a SSL certificates provide from COMODO, I have installed the SSL service in my apache server on port 443 and it work!. In this same server I have ...
0 votes
1 answer
970 views
Keystore file not generated properly
I have created a self signed certificate chain using openssl. The certificate is of .crt extension. I tried to create a .keystore file from that .crt file. The command used to create the keystore ...
0 votes
1 answer
198 views
AWS Tomcat SSL browser errors - what have I missed?
I'm attempting to set up TLS (SSL) with my domain hosted on AWS Bitnami so that users can access it over HTTPS. It is running on Apache Tomcat standalone and is not fronted by a LB. To generate the ...
0 votes
0 answers
145 views
self-signed certificates and 'Java SSLHandshakeException: no cipher suites in common'
I am attempting to create and use self-signed certificates for a spring boot gateway application, but newer versions of some dependencies have exposed a flaw in my certificate generation. I believe ...