【问题标题】:CSR generated by keytool is not acceptable by Network Solutions网络解决方案不接受 keytool 生成的 CSR
【发布时间】:2013-09-09 23:27:03
【问题描述】:

在受人尊敬的网站 Network Solutions 上提交 CSR 时,我收到一条错误消息 The CSR provided uses an unsupported signature algorithm. Supported algorithms are: md5withrsa, sha1withrsa, oid 1.2.840.113549.1.1.4, oid 1.2.840.113549.1.1.5。我正在使用的命令如下,不知道为什么当这正是他们在their siteApache Tomcat 网站上列出的内容时不接受它

keytool -genkey -keyalg RSA -alias tomcat -keystore domain_keystore.jks -keysize 2048

后跟命令生成CSR

keytool -certreq -alias tomcat -file domain_keystore.csr -keystore domain_keystore.jks 

当我使用openssl 生成密钥时,它会被Network Solutions 接受。但是有些我无法让它与tomcat一起运行:(

openssl req -nodes -newkey rsa:2048 -keyout www_website_com.key -out www_website_com.csr

在 Mac + Tomcat 上安装第三方证书时已筋疲力尽,需要帮助

【问题讨论】:

    标签: ssl openssl tomcat7 ssl-certificate keytool


    【解决方案1】:

    您可以使用-sigalg 选项指定与keytool -certreq 一起使用的签名算法。

    keytool -certreq -sigalg sha1withrsa -alias tomcat -file domain_keystore.csr -keystore domain_keystore.jks
    

    【讨论】:

    • 那行得通。谢谢。我已在Network Solutions 网站上提交了新请求。希望它成功。如果我遇到一些问题会更新。谢谢。
    猜你喜欢
    • 2013-07-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-02-11
    • 1970-01-01
    • 2018-07-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多