[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] bad end line on cert file?

  • Subject: Re: [Openvpn-users] bad end line on cert file?
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Fri, 08 Feb 2008 11:19:32 +0100

the file jenlatop.crt is a text file: open it using notepad and see if 
there's an end of line missing at the end of the file; alternatively, 
email or post the .crt file, it's the public part anyways. I can then 
take a look at your .crt file to see if it is indeed corrupt.



Jonathan Roy wrote:
>   I set up my home PC with almost no problems, but I must be doing 
> something wrong now. But I can't figure out what. Using WIndows XP on 
> server, Vista on this laptop. I made my cert/ket file per the HOWTO 
> and have copied the ca.crt, jenlaptop.crt and jenlaptop.key files. 
> They are in config/.
>   If I rename or delete the files I get an error that it can't find 
> the file. So it seems to be finding them. But openvpn won't run since 
> I get this error:
> Thu Feb 07 15:19:42 2008 Cannot load certificate file jenlaptop.crt: 
> error:0906D066:PEM routines:PEM_read_bio:bad end 
> line:error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
>   I've recopied the files. I don't know what more to try.
> -

Openvpn-users mailing list