My InfluxDB 2.0 beta 5 instance running without TLS, on Ubuntu 18.04, runs fine (using directly the IP address of the server as well as with a domain name).
However, trying to add TLS doesn’t work. I followed the procedure as described in https://v2.docs.influxdata.com/v2.0/security/enable-tls/.
$ sudo openssl req -x509 -nodes -newkey rsa:2048 \ -keyout /etc/ssl/influxdb-selfsigned.key \ -out /etc/ssl/influxdb-selfsigned.crt \ -days 9999
works, but gives at the beginning
Can’t load /home/ubuntu/.rnd into RNG
140100323504576:error:2406F079:random number generator:RAND_load_file:Cannot open file:…/crypto/rand/randfile.c:88:Filename=/home/ubuntu/.rnd
I don’t know if this influences the rest of the process?
I tried the same local on my Mac, where it runs fine, and copied the cert and key to my Ubuntu box.
Anyway, both result in that I can’t access my InfluxDB instance using TLS!
This site can’t be reached
xxx.yyy.zz refused to connect.
- Checking the connection
- Checking the proxy and the firewall
Anyone an idea what can be the cause that I can’t access my influxDB instance using TLS?