Hello, I wonder if someone can shed me light on this issue; after getting Ruby Gem dependencies for MongoDB 2.13.1 to 2.17.0, I am starting seeing the error as shown below:
MONGODB | TLS certificate of ‘{server_name}’ could not be definitively verified via OCSP: For responders {cert_issuer_url} with a timeout of 5 seconds: OCSP response from {cert_issuer_url} is 6: unauthorized
Below is the configuration used which had never logged any warning prior to upgrade:
...
production:
clients:
default:
uri: <%= ENV['MONGODB_URL'] %>
options:
ssl: true
ssl_verify: true
max_pool_size: <%= ENV['MONGODB_MAX_POOL_SIZE'].to_i %>
Based on this changeset here, apparently the new class: ocsp_verifier.rb was started to be introduced in the version release of: 2.14. Hence I never seen this log in our system log.
So, my question now, does this mean this issue could have been happening but never got logged prior to version 2.14? I have started my conversation to the certificate issuer to see if there’s anyway to verify with retry; in this case is there option I can use for retrying? For options, I use mongoid’s : ssl=true
and ssl_verify=true
; I wonder if I can utilize any of options to retry. Anyway, I am looking forward to any suggestions and any help would be appreciated.
Cheers!