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
- Allow specifying the local certificate to check and the CA bundle rather than looking up the certificates via URL.
- Support providing a proxy host and port
If the OCSP endpoint is missing, invalid or unreachable the certificate revocation will be tested using [CRL](https://en.wikipedia.org/wiki/Certificate_revocation_list).
59
72
60
73
If both OCSP and CRL tests are impossible, the certificate will still be considered valid but with an error message:
error # => "Revocation test couldn't be performed: OCSP: Missing OCSP URI in authorityInfoAccess extension, CRL: Missing crlDistributionPoints extension"
65
79
cert # => #<OpenSSL::X509::Certificate...>
66
80
```
67
81
82
+
### Testing when you have the client certificate and Certificate Authority Bundle
83
+
84
+
If you already have access to the client certificate and the CA certificate bundle to check against, you can call `test_cert` which takes a certificate and ca bundle certificate instead of a URL. it has all the same options as `test_url`
This check will pass for self-signed certificates if the certificate is signed by the ca certificate provided.
94
+
68
95
## How it works
69
96
70
97
SSLTester connects as an HTTPS client (without issuing any requests) and then closes the connection. It does so using ruby `net/https` library and verifies the SSL status. It also hooks into the validation process to intercept the raw certificate for you.
0 commit comments