hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.26k stars 6.32k forks source link

Please help me - how to view the validity period of issued certificates. Installed ikev2/ipsec with the script .ikev2 on Ubuntu Server 22. #1452

Closed AlexITProf closed 1 year ago

AlexITProf commented 1 year ago

Checklist

Describe the issue A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. ...
  2. ...

Expected behavior A clear and concise description of what you expected to happen.

Logs Check logs and VPN status, and add error logs to help explain the problem, if applicable.

Server (please complete the following information)

Client (please complete the following information)

Additional context Add any other context about the problem here.

hwdsl2 commented 1 year ago

@AlexITProf Hello! To view IKEv2 certificate validity, you may use:

certutil -L -d sql:/etc/ipsec.d -n "client name"

Replace "client name" above with the IKEv2 client's name.

AlexITProf commented 1 year ago

Thanks)))