Commit aa4ce3a8 authored by TonyFord's avatar TonyFord
Browse files

reconnect volume SSL_CONF

parent 28abff59
#!/bin/bash #!/bin/bash
chmod +x scripts/create_ssl.sh chmod +x scripts/create_ssl.sh
echo ${SSL_CONF}
# refresh ssl.conf from env file ( see volume in docker-compose.yml )
docker-compose stop electrumfairchainsx docker-compose stop electrumfairchainsx
docker-compose up -d electrumfairchainsx docker-compose up -d electrumfairchainsx
# create electrumx ssl cert files
docker-compose exec -T electrumfairchainsx /home/faircoin/scripts/create_ssl.sh docker-compose exec -T electrumfairchainsx /home/faircoin/scripts/create_ssl.sh
# restart server
docker-compose stop electrumfairchainsx docker-compose stop electrumfairchainsx
docker-compose start electrumfairchainsx docker-compose start electrumfairchainsx
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#### create key and cert #### create key and cert
openssl genrsa -out ~/.fairchains/electrumx.key 2048 openssl genrsa -out ~/.fairchains/electrumx.key 2048
ls -lA ~/scripts/
openssl req -new -key ~/.fairchains/electrumx.key -out ~/.fairchains/electrumx.csr -config ~/scripts/ssl.conf openssl req -new -key ~/.fairchains/electrumx.key -out ~/.fairchains/electrumx.csr -config ~/scripts/ssl.conf
#### verify cert #### verify cert
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment