OPENVPN Generator, where are the cert and key ?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
mjthelearner
Posts: 28
Joined: Fri Nov 25, 2022 6:08 am

OPENVPN Generator, where are the cert and key ?

Post by mjthelearner » Fri Nov 25, 2022 9:33 am

hi dear guys

ive generated the open vpn config file , but there is no cert and key for client?

how to access them?

the end of ovpn file generated by softether

Code: Select all

###############################################################################
# Client certificate and key.
# 
# A pair of client certificate and private key is required in case you want to
# use the certificate authentication.
# 
# To enable it, uncomment the lines below.
# Paste your certificate in the <cert> block and the key in the <key> one.
Where can i have the cert and the key certificate code?

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: OPENVPN Generator, where are the cert and key ?

Post by solo » Fri Nov 25, 2022 11:05 am

Ignore it, not used. VPN Gate's OVPN config has more...
# The client certificate file (dummy).
# In some implementations of OpenVPN Client software
# (for example: OpenVPN Client for iOS),
# a pair of client certificate and private key must be included on the
# configuration file due to the limitation of the client.
# So this sample configuration file has a dummy pair of client certificate
# and private key as follows.

nachito206
Posts: 2
Joined: Sat Dec 03, 2022 2:51 am

Re: OPENVPN Generator, where are the cert and key ?

Post by nachito206 » Sat Dec 03, 2022 3:04 am

The cert and key must be generated when the user is created.
To do this, you need to:
1) Access the hub
2) Go to Manage Users
3) Click on Create new user
4) In the "Create new user" windows, select Auth type = Individual Certificate Authentication"
5) On the right, the "Individual Certificate Authentication settings" should be now enabled so click on "Create certificate" to create the Cert and Key.
6) Add the content of these files to your OVPN file.
I hope it helps.

solo
Posts: 1228
Joined: Sun Feb 14, 2021 10:31 am

Re: OPENVPN Generator, where are the cert and key ?

Post by solo » Sat Dec 03, 2022 4:55 am

nachito206 wrote:
Sat Dec 03, 2022 3:04 am
6) Add the content of these files to your OVPN file.
I hope it helps.
No, it confuses. "Individual Certificate Authentication" is not supported in OVPN mode.

Post Reply