Set OS_CACERT pointing to the CA certificate.

export OS_CACERT=/path/to/ca.crt

Reference: http://docs.openstack.org/user-guide/common/cli-set-environment-variables-using-openstack-rc.html


Br,
Blockchain, DevOps & Open Source Cloud Solutions Architect
----------------------------------------
Founder & CEO 

Skype ID: d.overload
 +34 911 950 123 / +39 392 1289553 / +49 152 26917722 / Česká republika: +420 774 274 882  
-----------------------------------------------------



El mié, 24 may 2023 a las 21:46, BEDDA Fadhel (<fadhel.bedda@gmail.com>) escribió:
Good morning
who can help me to work around this problem:
root@controller certs(keystone)# openstack project create --domain default --description "Service Project" service
Failed to discover available identity versions when contacting https://controller.cloud.net:5000/v3. Attempting to parse version from URL.
SSL exception connecting to https://controller.cloud.net:5000/v3/auth/tokens: HTTPSConnectionPool(host='controller.cloud.net', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:997)')))