Hello,
We are trying to connect to the Information Service on the Orion server using the following Python script line:
swis = orionsdk.SwisClient(SWServerName, SWUsername, SWPassword, verify="/etc/ssl/certs/SolarWinds.pem")
However, we are getting the following error and i'm not sure how we should proceed.
/usr/local/lib/python3.8/dist-packages/urllib3/connection.py:357: SubjectAltNameWarning: Certificate for flxxxxxx.xxx.com has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See github.com/.../497 for details.)
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='flxxxxxx.xxx.com', port=17778): Max retries exceeded with url: /SolarWinds/InformationService/v3/Json/Query (Caused by SSLError(SSLCertVerificationError("hostname 'flxxxxx.xxx.com' doesn't match 'SolarWinds-Orion'")))
Could anyone tell me what we are missing? I can't seem to find anything.
Thanks for any help,
Tom
Tom