Connecting a chromebook built in client to .ovpn file

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Sat Feb 19, 2022 1:16 am

ok, hopefully I'm posting this In the right place I have a .OVPN on a windows machine, and I needed to split the files for chrome os. I successfully extracted the ca, but the other two I cant get right. how do I get a valid user certificate for chrome os from a .OVPN file? I'm new, and will probably need a dumbed-down step by step.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connecting a chromebook built in client to .ovpn file

Post by TinCanTech » Sat Feb 19, 2022 3:05 am

Open the file in a text editor.

stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Re: Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Sat Feb 19, 2022 12:32 pm

Ok?, I changed the files to a . Txt and opened it.
Now what?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connecting a chromebook built in client to .ovpn file

Post by TinCanTech » Sat Feb 19, 2022 2:22 pm

Where does it say to rename the file ?

stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Re: Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Sat Feb 19, 2022 2:47 pm

windows will
1) apply the file to my windows ovpn client
or
2) open in Firefox
I can try to open it in notepad in the original format, but i figured adding a .txt to the end wouldn't screw things up

stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Re: Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Sat Feb 19, 2022 2:58 pm

windows will
1) apply the file to my windows ovpn client
or
2) open in Firefox
I can try to open it in notepad in the original format, but i figured adding a .txt to the end wouldn't screw things up

stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Re: Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Sat Feb 19, 2022 4:30 pm

tried again, with notepad++, coppied everything between the keys including the keys, and then deleted them, then openssl emitted this error (all names are correct)
https://drive.google.com/file/d/1HWyZJd ... sp=sharing
EDIT: THIS IS WAS BEACAUSE I FROGOT TO REMOVE THE <CERT> flags, I fixed this and got the same error I have been getting from the start: chrome os states its an "- invalid or corrupt file"

stuffbreakswithme
OpenVpn Newbie
Posts: 9
Joined: Fri Feb 18, 2022 1:37 am

Re: Connecting a chromebook built in client to .ovpn file

Post by stuffbreakswithme » Wed Feb 23, 2022 2:30 pm

Alright, I have found the issue
Linux and windows store the enter/new line the client needs at the end of the client.crt differently, I booted up in ubuntu core and did the same thing i did on windows and it functioned

Post Reply