Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Upload SSL certificate via SCP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upload SSL certificate via SCP (Read 1095 times)
jbeller
Newbie
Posts: 1
Karma: 0
Upload SSL certificate via SCP
«
on:
February 13, 2022, 10:57:03 pm »
Hi,
I have one server which generates Let's Encrypt wildcard certificates using DNS-01.
So now I want to copy the pem file to various Opnsense routers we have out in the field.
(We only have ssh access to these routers).
This is no problem using
Code:
[Select]
scp cert.pem router-address:/var/etc/
Then I do
Code:
[Select]
ssh router-address /usr/local/etc/rc.restart_webgui
which restarts the webgui, however the old certificate is still used.
Any ideas?
John
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: Upload SSL certificate via SCP
«
Reply #1 on:
February 14, 2022, 07:43:32 am »
I wrote a script for that:
https://github.com/bartsmit/distcerts
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Upload SSL certificate via SCP