canvasdata cli fails with TLS Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019
09:28 PM
Hi all,
Canvasdatacli failed with a TLS error on our instance. See error message below
Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: api.inshosteddata.com. is not in the cert's altnames: DNS:portal.inshosteddata.com
I was able to get things working with a quick change to the apiUrl section of config.js
from
apiUrl: 'https://api.inshosteddata.com/api',
to
apiUrl: 'https://portal.inshosteddata.com/api',
Just me or anyone else run into this? Thought I would mention in case someone's on the same boat.
Edit, update:
Looks like api.inshosteddata.com is configured using the cert for portal.inshosteddata.com
Thanks,
Raj