openVPN pritave key help?

Hello,
it’s more a windows issue - but maybe someone can help
I have setup openvpn server on my mikrotik router , work without a probelm
I download “OpenVPN connect” to my windows
try to import the opvn file - I can’t see it
also when I try to connet _ i get fail

when I try to run the openvpn using CMD - it’s connecting without a problem but he ask me everytime to enter “Private Key”

  1. how can I “save” the private key? so I will not need to enter it everytime ?
  2. how do I make the “OpenVPn connect” save the vpn connection?

Thanks,

You used these instructions or similar ?
https://openvpn.net/cloud-docs/user-imports-received-profile-into-connect-client/

How did you download that file on your computer ?
I would think that file is to be found in your Downloads folder if it is a standard Windows installation.
Look there when you want to import the profile.

I have created a “ovpn” file of my own

is there any way to download the profile from Mikrotik router?

You say you created the ovpn yourself AND it works from command line.
That’s already a good point.

Where is that ovpn file located on your computer ?
When you go to windows Ovpn client, there is an option to import.
Point it to the location of your working ovpn file.

Did you already export the needed certificate from your router and import it again on your pc?

  1. the configuration file is at:
C:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\etc\profile\MyOffice.ovpn
  1. I have try to import it - I get “success” , but I can’t see it in the list …

  2. I have export the 3 files :

ca.crt
client.crt
client.key

and use them in the config file

I have also manage to “save” the “Private Key” using openssl
so now I don’t need to enter it each time

the strangest thing is that I don’t even see it try to connect to the server (from mikrotik I don’t see any try)
but when I use cmd - it’s working

*** I’m using the same “Open VPN connect” to connect other vpn - and there everything is working