in reply to Re^4: Error in certificate validation. Need help!
in thread Error in certificate validation. Need help!
See Common Usage Errors which says:
If the verification does not succeed with the default settings, one can do the following:
- Make sure the needed CAs are in the store, maybe use SSL_ca_file or SSL_ca_path to specify a different CA store.
- If the validation fails because the certificate is self-signed and that's what you expect, you can use the SSL_fingerprint option to accept specific leaf certificates by their certificate or pubkey fingerprint.
- If the validation failed because the hostname does not match and you cannot access the host with the name given in the certificate, you can use SSL_verifycn_name to specify the hostname you expect in the certificate.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Error in certificate validation. Need help!
by chandantul (Scribe) on Mar 22, 2021 at 19:54 UTC |