Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Let's Encrypt Automatic Upload Certificate via SFTP Setup
« previous
next »
Print
Pages: [
1
]
Author
Topic: Let's Encrypt Automatic Upload Certificate via SFTP Setup (Read 1498 times)
thewolf56
Newbie
Posts: 21
Karma: 3
Let's Encrypt Automatic Upload Certificate via SFTP Setup
«
on:
January 12, 2022, 10:16:34 pm »
Hello,
I have been running the Let's Encrypt add-on with Nginx for a little while without a problem for a while. However, now I need to use the certificates for a couple of other items.
I have setup SFTP and can connect with Putty using Keys, but get an error when I test the connection via the automation for uploading the certificate via SFTP.
I checked the log in the SSH/SFTP server and can see that my OPNsense machine attempts to connect, but I get this error in OPNsense
Host cannot be trusted.
{ "actions": [ "connecting" ], "success": false, "error": "Key mismatch for '192.168.X.XX'; The expected key ({'hash':'SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX1234','key_type':'RSA','key_length':'2048'}) was not found in ([{'hash':'SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5678','key_type':'RSA','key_length':'3072'}])", "host_not_trusted": true, "connect_failed": true }
Can anyone tell me what I am doing wrong? I noticed that there is a key length mismatch along with key not matching, but not sure how to fix on the OPNsense machine.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Let's Encrypt Automatic Upload Certificate via SFTP Setup