Page 1 of 1

OPENVPN Generator, where are the cert and key ?

Posted: Fri Nov 25, 2022 9:33 am
by mjthelearner
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?

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

Posted: Fri Nov 25, 2022 11:05 am
by solo
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.

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

Posted: Sat Dec 03, 2022 3:04 am
by nachito206
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.

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

Posted: Sat Dec 03, 2022 4:55 am
by solo
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.