-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to normal certificate when I pass the chain certificate string. #496
Comments
I believe we merged a PR to address this problem, let me check. |
Looks like it was applied and then reverted. |
I'm mistaken, it was applied, and the method to use is |
I don't know if is my version of OpenSSL but the method that you mention is not available on my code 😢 @ioquatix |
What version of Ruby are you using? |
The version is 3.0.2 @ioquatix 🤔 |
Can you try 3.1.1 |
I have a little question, could I just update the ruby gem? Cuz I am working in a big company, and maybe is not possible migrate to a new version of ruby since we need to check a lot of possible inconvenience during the migration 🤔 |
Yes. #441 added these for this exact purpose, and they are part of Ruby 3.1 is the first version to include the gem version 3.0.x by default. openssl gem 3.0 is compatible with Ruby 2.6 and later. You can explicitly include |
It should be an array. |
I tried to convert a string certificate chain to
OpenSSL::X509::Certificate
but when I pass the string as a parameter the ClassCertificate
convert it to the normal certificate for example:The text was updated successfully, but these errors were encountered: