SSL Certificates
4 min
ssl certificates litmus edge ships with a self signed certificate until you install your own ca, clients will reject the connection quick fix (development only) disable certificate verification on the client tool flag curl k or insecure python requests verify=false postman settings > general > "ssl certificate verification" off node https / fetch rejectunauthorized false curl k "https //\<edge host>/devicehub/version" h "authorization bearer $token" never do this against production traffic it opens you to mitm production fix install a ca signed certificate on the edge system > network > certificates > upload custom certificate or use the upload custom ca certificate workflow see upload custom ca certificate (le) docid 28rh ywurrnllneret4y once installed, drop k / verify=false from your clients trusting the edge's self signed cert if you don't want a public ca cert but still want clients to validate, export the edge's self signed cert and add it to your client's trust store echo | openssl s client connect \<edge host> 443 servername \<edge host> 2>/dev/null \\ \| openssl x509 > edge crt \# python export requests ca bundle=$(pwd)/edge crt \# curl curl cacert edge crt "https //\<edge host>/devicehub/version"