|
|
|
@ -36,7 +36,12 @@ def exec_remote(connection: paramiko.SSHClient, command): |
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
parser = argparse.ArgumentParser() |
|
|
|
parser.add_argument('cert_path') |
|
|
|
parser.add_argument('key_path') |
|
|
|
parser.add_argument( |
|
|
|
'cert_path', help="location of the certificate to install") |
|
|
|
parser.add_argument( |
|
|
|
'key_path', help="localtion of the private key to install") |
|
|
|
parser.add_argument( |
|
|
|
'store_path', |
|
|
|
help="directory to store the private key and certificate") |
|
|
|
parser.add_argument('-d', '--dry', action='store_true') |
|
|
|
args = parser.parse_args() |