Module
delivery_correos_express
Odoo version: 18.0
Module version / commit: be5ec45
Describe the bug
When testing the integration against the Correos Express test environment, requests fail during SSL certificate validation. The test host (www.test.cexpr.es) appears to serve a certificate chain that does not validate against standard public CA bundles — the chain includes a self-signed certificate.
To Reproduce
Configure a Correos Express delivery carrier set to the test environment.
Trigger a shipment creation (which calls grabacionEnvio).
Error
HTTPSConnectionPool(host='www.test.cexpr.es', port=443): Max retries exceeded with url: /wsps/apiRestGrabacionEnviok8s/json/grabacionEnvio (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')))
Expected behavior
Requests against the test endpoint should complete, or the module should provide a documented way to supply a custom CA bundle / handle the test environment's certificate chain.
Additional context
- Has anyone else hit this against www.test.cexpr.es? Is it a known/intermittent issue with their test environment's certificate?
- Does the module expose a hook for a custom CA bundle, or does it rely on the system / certifi trust store and the REQUESTS_CA_BUNDLE environment variable?
- Would the maintainers consider adding an optional, test-environment-only setting to supply a CA bundle (or otherwise document the recommended workaround)?
Module
delivery_correos_express
Odoo version: 18.0
Module version / commit: be5ec45
Describe the bug
When testing the integration against the Correos Express test environment, requests fail during SSL certificate validation. The test host (www.test.cexpr.es) appears to serve a certificate chain that does not validate against standard public CA bundles — the chain includes a self-signed certificate.
To Reproduce
Configure a Correos Express delivery carrier set to the test environment.
Trigger a shipment creation (which calls grabacionEnvio).
Error
HTTPSConnectionPool(host='www.test.cexpr.es', port=443): Max retries exceeded with url: /wsps/apiRestGrabacionEnviok8s/json/grabacionEnvio (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')))Expected behavior
Requests against the test endpoint should complete, or the module should provide a documented way to supply a custom CA bundle / handle the test environment's certificate chain.
Additional context