在使用php生成证书CSR中出现错误:

openssl_csr_new(): dn: add_entry_by_NID 13 -> somedomain.com (failed; check error queue and value of string_mask OpenSSL option if illegal characters are reported)

ErrorException: Warning: openssl_csr_new(): dn: add_entry_by_NID 13 -> somedomain.com (failed; check error queue and value of string_mask OpenSSL option if illegal characters are reported)

somedomain.com 代表需要生成CSR的域名

出现此原因主要是somedomain.com字符串超过了64个字符。

目前在使用来此加密生成证书时,已经自动将低于65个字符串的域名作为commonName了,不会出现验证成功,但是无法生成证书的情况了。

来此加密:免费获取SSL证书,支持通配符,支持多组域名。

相关文章:

  • 2021-12-16
  • 2021-11-26
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2021-12-07
  • 2021-09-12
  • 2021-11-09
  • 2022-12-23
  • 2021-08-24
  • 2022-03-07
相关资源
相似解决方案