Ruby OpenSSL nested asn1 error

后端 未结 2 1359
伪装坚强ぢ
伪装坚强ぢ 2021-01-16 08:38

I have tried the advice on several of the questions posted here, but to no avail. I have the following files: (NOTE, I generated these on the fly and they are throwaway keys

相关标签:
2条回答
  • 2021-01-16 09:22

    For others who might run into this. I had this error and fixed it by removing all carriage returns from my certificate string. (eg. replace "\r\n" and "\n\r" with just "\n" or just remove all "\r"

    0 讨论(0)
  • 2021-01-16 09:29

    So, once again, I answered my own question. I was trying to read a DER-form pkcs12. I had to convert it to PEM format.

    0 讨论(0)
提交回复
热议问题