Merge .p12 .tls and .ovpn into 1 file on iOS

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Emetah
OpenVpn Newbie
Posts: 9
Joined: Sun May 31, 2020 1:35 pm

Merge .p12 .tls and .ovpn into 1 file on iOS

Post by Emetah » Wed Jun 03, 2020 6:51 am

Mod note, split from this sticky topic:
viewtopic.php?f=36&t=30395


mdibella wrote:
Tue Jun 02, 2020 6:13 pm
Remove the Bag Attributes sections from the CA, cert, and key. You only what the BEGIN to END lines.

Also make sure when you export the PKCS12 to PEM format what you don't enter a key encrypt password. Only enter the decrypt password.
I removed "Bag attributes" but still receive the same error, I think the error could be at the start of the code (ovpn part), because if you see my initial post I removed some rows ... could these rows be necessary?

mdibella
OpenVPN Power User
Posts: 51
Joined: Thu Dec 13, 2018 11:15 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by mdibella » Wed Jun 03, 2020 3:36 pm

Well, looking at the file you posted line-by-line, I'd move line 8 to the top-of-file, and delete lines 15-18.

Make sure that you have inserted the ROOT certificate of the SERVER chain, not the CLIENT chain under the <ca> section. This section defines the trust anchor used by the client to validate the server's certificate. The root of the chain that produces the CLIENT certificate is relevant to the OVPN server process, but irrelevant to the OVPN client.

Emetah
OpenVpn Newbie
Posts: 9
Joined: Sun May 31, 2020 1:35 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by Emetah » Thu Jul 09, 2020 12:21 pm

I didn't solve yet my problem ...can I send in pvt to one of you my 3 files? I really can't understand where is the problem, I need help please

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

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by TinCanTech » Fri Jul 10, 2020 10:44 am

You can post your file here .. just obscure the private data.

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by 300000 » Fri Jul 10, 2020 4:37 pm

in p12 file it contain three file two public key file and one private key . and when you do that you will get three file out from 1 p12 . the tls is statics key file so it seen easy to add into ovpn file . the total is 5 difference file adding to one file

if you dont know and there is no more help to solve your problem you can send your file PM to me so i can make it for you . just remove your address of connection and port .

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

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by TinCanTech » Fri Jul 10, 2020 4:39 pm

300000 wrote:
Fri Jul 10, 2020 4:37 pm
you can send your file PM to me
PMs are disabled due to abuse but you can leave your contact details in the thread.

Emetah
OpenVpn Newbie
Posts: 9
Joined: Sun May 31, 2020 1:35 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by Emetah » Fri Jul 10, 2020 11:21 pm

TinCanTech wrote:
Fri Jul 10, 2020 4:39 pm
300000 wrote:
Fri Jul 10, 2020 4:37 pm
you can send your file PM to me
PMs are disabled due to abuse but you can leave your contact details in the thread.
Please can you enable PM on our account? I really need to solve this problem and I don't know how...please

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by 300000 » Sat Jul 11, 2020 12:39 am

you can send all file to my email just remove address and port and i make one file for you
If the p12 have password you need to give to me so i can extract for you . Without password i cant do it.
thang_nguyen6@yahoo.com

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

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by TinCanTech » Sat Jul 11, 2020 1:40 am

Subtle as a brick and half as sharp ..

Emetah
OpenVpn Newbie
Posts: 9
Joined: Sun May 31, 2020 1:35 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by Emetah » Mon Jul 13, 2020 7:21 am

300000 wrote:
Sat Jul 11, 2020 12:39 am
you can send all file to my email just remove address and port and i make one file for you
If the p12 have password you need to give to me so i can extract for you . Without password i cant do it.
thang_nguyen6@yahoo.com
I sent to you all the files, I hope you can help me. Thank you.

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by 300000 » Tue Jul 14, 2020 8:01 pm

I ve done for you and send it bach

Emetah
OpenVpn Newbie
Posts: 9
Joined: Sun May 31, 2020 1:35 pm

Re: Merge .p12 .tls and .ovpn into 1 file on iOS

Post by Emetah » Wed Jul 15, 2020 1:47 pm

I answered u there is a new error now...<ca> is not properly closed out but It's not true :(

Post Reply