OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Generate New SSL Cert For OpenVPN via CLI?
« previous next »
  • Print
Pages: [1]

Author Topic: Generate New SSL Cert For OpenVPN via CLI?  (Read 2636 times)

brando56894

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Generate New SSL Cert For OpenVPN via CLI?
« 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?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Generate New SSL Cert For OpenVPN via CLI?
« Reply #1 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.
Logged

brando56894

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Generate New SSL Cert For OpenVPN via CLI?
« Reply #2 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?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Generate New SSL Cert For OpenVPN via CLI?
« Reply #3 on: July 29, 2019, 10:34:13 pm »
no. You would have to edit the config.xml manually.
Logged

brando56894

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Generate New SSL Cert For OpenVPN via CLI?
« Reply #4 on: August 11, 2019, 11:20:00 pm »
Ah, crap, ok. Thanks.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Generate New SSL Cert For OpenVPN via CLI?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2