SSL: CERTIFICATE_VERIFY_FAILED uygulaması hatası

Bir uygulama için CERTIFICATE_VERIFY_FAILED hatası görürseniz, app.config dosyasında verify seçeneğini uygulama için varsayılan SSL doğrulamasını yapılandırmak üzere ayarlayabilirsiniz.

Belirtiler

Bir uygulama için CERTIFICATE_VERIFY_FAILED hatası görürsünüz.

Sorunun tanılanması

Aşağıdakilere benzer bir hata görürsünüz:
------------------------ Running selftest for: 'fn-cisco-wsa' ------------------------ fn-cisco-wsa: 
Checking Cisco WSA connectivity and credentials...! HTTPSConnectionPool(host='10.10.10.10', port=6443): Max retries exceeded with url: 
/wsa/api/v3.0/generic_resources/auth_settings (Caused by SSLError(SSLCertVerificationError(1, '[SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1129)'))) 
IntegrationError("HTTPSConnectionPool(host='10.10.10.10', port=443): Max retries exceeded with url: 
/wsa/api/v3.0/generic_resources/auth_settings (Caused by SSLError(SSLCertVerificationError(1, '[SSL: 
CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1129)')))") selftest: failure 
selftest output: {'state': 'failure', 'reason': 'IntegrationError("HTTPSConnectionPool(host=\'10.10.10.10\', port=443): 
Max retries exceeded with url: /wsa/api/v3.0/generic_resources/auth_settings (Caused by 
SSLError(SSLCertVerificationError(1, \'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed 
certificate (_ssl.c:1129)\')))")'} Elapsed time: 0.022000 seconds ERROR: running selftest for App. Error Code: 1

Sorunun çözülmesi

Uygulama de anın lerinde sırasında bağlantı belirtilmiş olan varsayılan SSL doğrulamasını yapılandırmak için uygulamanın app.config dosyasında verify seçeneğini ayarlayın.