Closed kke closed 5 years ago
Closes #146 (alternative implementation) Fixes #145
The existing spec validates an expired cert from spec fixtures using the cert store.
This changes the spec to validate that the subject.options[:ssl_cert_store]) is an instance of OpenSSL::X509::Store.
subject.options[:ssl_cert_store])
OpenSSL::X509::Store
The verifying is actually done inside excon request / ssl decrypting outside of k8s-client and is never called directly by k8s-client.
Closes #146 (alternative implementation) Fixes #145
The existing spec validates an expired cert from spec fixtures using the cert store.
This changes the spec to validate that the
subject.options[:ssl_cert_store])
is an instance ofOpenSSL::X509::Store
.The verifying is actually done inside excon request / ssl decrypting outside of k8s-client and is never called directly by k8s-client.