Security: enable SSL certificate verification for NGA downloads
This commit is contained in:
+1
-3
@@ -39,9 +39,7 @@ NGA_URL = (
|
||||
"&includeRemovals=false&output=json"
|
||||
)
|
||||
|
||||
_SSL_CTX = ssl.create_default_context()
|
||||
_SSL_CTX.check_hostname = False
|
||||
_SSL_CTX.verify_mode = ssl.CERT_NONE
|
||||
_SSL_CTX = ssl.create_default_context() # verifica certificado SSL por defecto
|
||||
|
||||
# ── Rumbos conocidos de enfilaciones Bocas de Ceniza / Rio Magdalena ─────────
|
||||
# Fuente: NGA Pub.110 Vol.D (Colombia) + geometria del canal DIMAR.
|
||||
|
||||
Reference in New Issue
Block a user