OPNsense Forum

English Forums => General Discussion => Topic started by: brando56894 on July 28, 2019, 09:53:01 pm

Title: Generate New SSL Cert For OpenVPN via CLI?
Post by: brando56894 on July 28, 2019, 09:53:01 pm
I have OPNsense setup at my parents house and a VPN server setup in case I ever need to get into their network (I live 3 hours away), and apparently my SSL cert expired. I have shell access to OPNsense, so how can I create the necessary files via the cli so i can rsync them back to myself?
Title: Re: Generate New SSL Cert For OpenVPN via CLI?
Post by: fabian on July 28, 2019, 10:04:02 pm
Use the -L parameter to forward the traffic over SSH to get the remote web interface available locally.
Title: Re: Generate New SSL Cert For OpenVPN via CLI?
Post by: brando56894 on July 29, 2019, 09:04:56 pm
I'm using their NAS as a jump box so I'd have to proxy a few connections, is there no way to generate the certs easily?
Title: Re: Generate New SSL Cert For OpenVPN via CLI?
Post by: fabian on July 29, 2019, 10:34:13 pm
no. You would have to edit the config.xml manually.
Title: Re: Generate New SSL Cert For OpenVPN via CLI?
Post by: brando56894 on August 11, 2019, 11:20:00 pm
Ah, crap, ok. Thanks.