Hi,
I'm trying to setup SSH CA in my testenvironment. I have two servers both running Ubuntu latest LTS release, 16.04, and Vault 0.7 running on one of the servers.
ubuntu-01 in my is the remote server and ubuntu-02 is the client server.
Tested if the host CA works and that is fine. No prompt to validate the host key.
Then I have generated with Vault the client CA key and added it to a file /etc/ssh/ssh_trusted_keys.pub on ubuntu-01. Then I have updated the /etc/ssh/sshd_config to add "TrustedUserCAKeys /etc/ssh/ssh_trusted_keys.pub" on ubuntu-01.
When I try to SSH to ubuntu-01 it prompts for password:
$ ssh -i .ssh/id_rsa-signed.pub ubuntu-01.local
ro...@ubuntu-01.local's password:
If I check the /var/log/auth.log I see the following message:
..
Mar 31 09:45:39 ubuntu-01 sshd[31072]: error: key_cert_check_authority: invalid certificate
Mar 31 09:45:39 ubuntu-01 sshd[31072]: error: Certificate lacks principal list
..
What am I doing wrong?