OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: SimHat on October 13, 2023, 02:42:38 PM

Title: [Solved] ACME Automations with automated login
Post by: SimHat on October 13, 2023, 02:42:38 PM
I'm trying to use ACME automations to copy certificates to other servers on the network.  Where would I find the key on OPNSense that I need to add to the servers ~/ssh/authorized_keys file to allow login?
I generated a key using ssh-keygen but when I try to use it I get the following.

Load key "/root/.ssh/id_rsa.pub": invalid format

Nevermind.  I realized I'm not a smart person.  You have to use /root/.ssh/id_rsa NOT the .pub file.
Title: Re: [Solved] ACME Automations with automated login
Post by: julsssark on October 13, 2023, 07:38:05 PM
I use the cert key located here for the Acme SFTP automation: /var/etc/acme-client/sftp-config/
Title: Re: [Solved] ACME Automations with automated login
Post by: Reiner030 on April 18, 2024, 05:53:58 PM
The publine is also shown in web gui but "light hidden" by light blue color button "Show Identity" left to the orange "Test Connection" button.
Found it also after this match so adding this as hint for future searches ... ;-)