I don’t understand why I’m getting ‘No such file or directory’ when the key and cert are clearly there.
root@server:~# maas config-tls enable -p 443 key cert
usage: maas config-tls enable [-h] [–cacert CACERT] [-p PORT] [–yes] key cert
positional arguments:
key path to the private key
cert path to certificate in PEM format
options:
-h, --help show this help message and exit
–cacert CACERT path to CA certificates chain in PEM format (default: None)
-p PORT, --port PORT HTTPS port (default: 5443)
–yes Skip interactive confirmation (default: False)
argument key: can’t open ‘key’: [Errno 2] No such file or directory: ‘key’
root@server:~# file key
key: ASCII text
root@server:~# file cert
cert: PEM certificate