Hello team,
I am trying to run a single foundationdb container in my virtual box vm using the TLS setup.
I have created the certs as below:-
root@cb6f5654a2d4:/var/fdb/cert# ls
cert.crt fdb.pem private.key
I modified the scripts and fdb.bash for using TLS. The container gets started but the ip is showing unreachable. Without TLS the containers works fine with different configs (cluster created and tested).
Below is the fdb.cluster for the single container.
root@cb6f5654a2d4:/var/fdb# cat fdb.cluster
docker:docker@172.17.0.13:4500:tls
Process details below
root@cb6f5654a2d4:/var/fdb# ps aux | grep fdbserver
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 18 0.3 0.8 334660 25280 pts/0 Sl+ 02:37 0:00 fdbserver --listen_address public --public_address 172.17.0.13:4500:tls --datadir /var/fdb/data --logdir /var/fdb/logs --locality_zoneid cb6f5654a2d4 --locality_machineid cb6f5654a2d4 --class unset --tls_certificate_file /var/fdb/cert/fdb.pem --tls_key_file /var/fdb/cert/private.key --tls_verify_peers Check.Valid=0
Fdbcli status
root@cb6f5654a2d4:/var/fdb# fdbcli
Using cluster file `/var/fdb/fdb.cluster'.
The database is unavailable; type `status' for more information.
Welcome to the fdbcli. For help, type `help'.
fdb> status details
Using cluster file `/var/fdb/fdb.cluster'.
Could not communicate with a quorum of coordination servers:
172.17.0.13:4500:tls (unreachable)
fdb>
Could you please let me know if i am doing something wrong here ?
Thanks and regards,
Prabin Poulose
EDIT: Used ``` for code blocks.