Cannot save my file when using cryptoapicert due to format.

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
helloworld
OpenVpn Newbie
Posts: 15
Joined: Tue Mar 20, 2012 4:13 pm

Cannot save my file when using cryptoapicert due to format.

Post by helloworld » Tue Apr 24, 2012 2:16 am

Hi

I was trying to use cryptoapicert "THUMB ....." to replace my cert and key with windows generated certificate.

However, I cannot save my file with error msg.
Image

Pls advise.
Thanks.

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Cannot save my file when using cryptoapicert due to form

Post by krzee » Tue Apr 24, 2012 3:00 pm

get a real os? :lol: ;)

helloworld
OpenVpn Newbie
Posts: 15
Joined: Tue Mar 20, 2012 4:13 pm

Re: Cannot save my file when using cryptoapicert due to form

Post by helloworld » Wed Apr 25, 2012 1:09 am

Yes. Using Windows 7. 8-)

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Cannot save my file when using cryptoapicert due to form

Post by krzee » Wed Apr 25, 2012 3:18 am

exactly! ;)
your error is in notepad, not openvpn

helloworld
OpenVpn Newbie
Posts: 15
Joined: Tue Mar 20, 2012 4:13 pm

Re: Cannot save my file when using cryptoapicert due to form

Post by helloworld » Wed Apr 25, 2012 3:54 am

So how can I solve this error?

I cannot save the file in ANSI format as the thumbprint is in unicode format.
But if i save the text file in unicode format, OpenVPN cannot run successfully.
Options error: Unrecognized option or missing parameter(s) in client.ovpn:1: ÿþc (2.2.2)

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Cannot save my file when using cryptoapicert due to form

Post by janjust » Wed Apr 25, 2012 10:54 am

a certificate thumbprint is NOT in Unicode format; instead it should look a bit like this

Code: Select all

THUMB:02:fa:3d:45
etc...

Post Reply