You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like some advice on how to handle SSL certificate rotation using the library. I would imagine there is a way to pass on to the SLL context multiple certificates (ie the current one and the one to be used), however I can't find anything like that in the documentation.
As per the documentation, the ssl_params params hash is passed on to the OpenSSL::SSL::SSLContext#set_params. In the example you use the cert key to pass the client certificate. In turn, the SSLContextdocumentation mentions that the initialization params are used to invoke setter methods.
Apart from only accepting a single certificate, the SSLContext#cert= is deprecated in favor of the SSLContext#add_certificate method, which would (presumably) also allow me to solve my original problem.
Questions:
Is there a way to perform certificate rotation currently with the gem?
Are there plans to support the SSLContext#add_certificate method?
The text was updated successfully, but these errors were encountered:
I would like some advice on how to handle SSL certificate rotation using the library. I would imagine there is a way to pass on to the SLL context multiple certificates (ie the current one and the one to be used), however I can't find anything like that in the documentation.
As per the documentation, the
ssl_params
params hash is passed on to theOpenSSL::SSL::SSLContext#set_params
. In the example you use thecert
key to pass the client certificate. In turn, theSSLContext
documentation mentions that the initialization params are used to invoke setter methods.Apart from only accepting a single certificate, the
SSLContext#cert=
is deprecated in favor of the SSLContext#add_certificate method, which would (presumably) also allow me to solve my original problem.Questions:
Is there a way to perform certificate rotation currently with the gem?
Are there plans to support the
SSLContext#add_certificate
method?The text was updated successfully, but these errors were encountered: