本文介绍了ERR_SSL_VERSION_OR_CIPHER_MISMATCH与tomcat7和node.js服务器java8 godaddy证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用从GoDaddy获得的证书后,我收到了ERR_SSL_VERSION_OR_CIPHER_MISMATCH。我将crt转换为jks并在tomcat中使用它。

I am getting ERR_SSL_VERSION_OR_CIPHER_MISMATCH after using the certificate i obtained from GoDaddy. I converted the crt to jks and using it in tomcat.

nmap --script ssl-enum-ciphers.nse -p443 site.com

nmap --script ssl-enum-ciphers.nse -p443 site.com

TLSv1.0:没有支持的密码找到
| TLSv1.1:找不到支持的密码
| _ TLSv1.2:找不到支持的密码

TLSv1.0: No supported ciphers found| TLSv1.1: No supported ciphers found|_ TLSv1.2: No supported ciphers found

使用tomcat7

推荐答案

这是jks文件的问题。

It was a problem with the jks file.

因为我的要求是创建一个私钥文件,以便同时在Node.js服务器和tomcat密钥库中使用。没有一个解决方案让我如何去做。它将解释为Node.js服务器或仅为tomcat创建CSR。

Since my requirement was to create a private key file to use in Node.js server and a tomcat keystore simultaneously. None of the solutions were giving me how to do it. It will explain either about creating a CSR for Node.js server or for tomcat only.

我终于找到了解决方案

使用私钥和证书创建密钥库。

which created the keystore using the private key and the certificate.

对于有类似问题的人,请按照以下步骤操作。

For those who are having similar issue follow the below steps.

1)使用openssl创建csr和私钥。
2)使用任何证书签名机构上传csr
3)获取证书。根证书,中间证书和域证书。
4)使用链接中给出的命令生成密钥库并导入密钥库。
5)在tomcat配置文件中使用它。
6)在Node.js服务器中使用私钥和域证书。

1) create the csr and private key using openssl.2) Upload the csr with any certificate signing authority3) Obtain the certificates. root ,intermediate and domain certificates.4) Use the commands given in the link to generate the keystore and import it.5) Use it in your tomcat configuration file.6) Use the private key and the domain certificate in your Node.js server.

如果有任何问题,请在此处回复,我们将很乐意为您提供帮助。

If anyone having issues please reply here will be happy to help.

这篇关于ERR_SSL_VERSION_OR_CIPHER_MISMATCH与tomcat7和node.js服务器java8 godaddy证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-26 03:14