OpenVPN not displaying user/password

I am trying to connect to OpenVPN with all my files in my GL-MT300N-V2:

cert.txt
he-ca.txt
ket.txt
default.ovpn

This is my .ovpn file:
client
dev tun
remote XXXXXXXX
remote XXXXXXXXXXXX
port 1194
pull
auth-user-pass
tun-mtu 1500
mssfix 1400
key key.txt
cert cert.txt
ca he-ca.txt
compress lzo
keepalive 10 60
nobind
float
cipher BF-CBC
remote-cert-tls server
push-peer-info
auth-nocache

I upload the files into a zip but no user/password is prompted but a passphrase that I don’t have. I tried to upload the firmware but the error continues. My current firmware version is 3.203.

Please help!

From your information the router should ask for username and password. Can you send me the zip to try? You can send to support at gl-iNet.com

Hi alzhao

File sent to support mail

Hello,

I have the same issue.
no user and no passward but only passphrase that I don t have.

did you resolve your issue since september ?

found out by myself
VNP provider gives me 4 files in a zip

I dezipped it and load only the file with extension .ovpn

no user and password field but only passphrase filed

after several tests, I tried with the zip file
3 fields:
user
password
passphrase.

I set the user I get from the provider
and the same password in passwordfield and passphrase field

it s ok now.

Add the following line to the ovpn before upload.

askpass

Ok
thanks
even if I didn t try your solution

Do you mean a passphrase used to encrypt the cert/keys?

“askpass” solution is not working…
I needed to do some new parameter so I tried this solution …
installation is working fine but while launching this vpn, connection is not working.

better use the zip files provided by your VPN service as I said

there are 4 files inside
ca.crt
client.crt
client.key
openvpn.ovpn

“Do you mean a passphrase used to encrypt the cert/keys?”
don t know if this question is for me or not
passphrase is ussually used to encrypt the cert/keys, but in my case no passphrase is provided by my VPN provider.

I cannot fully understand your situation.

In the ovpn, it may have two lines.

auth-user-pass

If there is this line the UI will ask you to provide username and password. Some vpn service provider provide a different username and password for vpn connection which is different from your login username/password in their website.

askpass

If you have this line the UI will ask you to input private key passphase. Pls note, sometimes in the ovpn there is no this line (e.g. pivpn) and you need to add this manually.