I am trying to setup MAAS and running this command:
root@lab-ubnt-maas-01-a:~# maas config-tls enable /tmp/lab-ubntmaas-01-a.key /tmp/lab-ubntmaas-01-a.pem
And it errors out with:
argument key: can’t open ‘/tmp/lab-ubntmaas-01-a.key’: [Errno 2] No such file or directory: ‘/tmp/lab-ubntmaas-01-a.key’
The files are definitely there and readable by anyone:
root@lab-ubnt-maas-01-a:~# ll /tmp
total 68
drwxrwxrwt 15 root root 4096 Jul 26 20:13 ./
drwxr-xr-x 19 root root 4096 Jul 26 19:02 …/
drwxrwxrwt 2 root root 4096 Jul 26 19:15 .font-unix/
drwxrwxrwt 2 root root 4096 Jul 26 19:15 .ICE-unix/
-rw-r–r-- 1 root root 1676 Jul 26 20:13 lab-ubntmaas-01-a.key
-rw-r–r-- 1 root root 1498 Jul 26 20:13 lab-ubntmaas-01-a.pem
How can I debug this?