Skip to content

Instantly share code, notes, and snippets.

@ianphil
Created April 21, 2017 15:39
Show Gist options
  • Save ianphil/d14f9bc2061593a0e6e820eac0328a0b to your computer and use it in GitHub Desktop.
Save ianphil/d14f9bc2061593a0e6e820eac0328a0b to your computer and use it in GitHub Desktop.
Copy TLS certs up to Docker host
#!/bin/bash
scp keys/server-key.pem tdr@$AZ_DNSFQDN:~/certs/server/key.pem
scp keys/server-cert.pem tdr@$AZ_DNSFQDN:~/certs/server/cert.pem
scp keys/ca.pem tdr@$AZ_DNSFQDN:~/certs/ca.pem
scp keys/cert.pem tdr@$AZ_DNSFQDN:~/certs/client/cert.pem
scp keys/key.pem tdr@$AZ_DNSFQDN:~/certs/client/key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment