I cannot enable TLS (v3.3)

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

-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

Any ideas here? This seems like a trivial issue. What am I doing wrong?
Is there a work-around?

I was able to solve this from this post.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.