zeus
4 years ago
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||
|
registry_address=registry.vlabs.uniwa.gr |
||||
|
registry_port=5080 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
||||
|
|
||||
|
registry_address=registry.vlabs.uniwa.gr |
||||
|
registry_port=5043 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
||||
|
|
@ -0,0 +1,9 @@ |
|||||
|
registry_address=hub.swarmlab.io |
||||
|
registry_port=5443 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
||||
|
|
||||
|
registry_port=5480 |
||||
|
mkdir -p /etc/docker/certs.d/$registry_address:$registry_port |
||||
|
openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt |
||||
|
|
Loading…
Reference in new issue