Page 1 of 1

Error when importing a config - AUTHRPC_ERRBACK

Posted: Fri Jan 06, 2012 10:25 pm
by Tim.Neto
Hi.

I am trying to use OpenVPN Client 1.5.6 to connect to my company's OpenVPN implementation.

I try to import the following configuration file.
  • client
    dev tun
    proto udp
    remote ###SvrIP#### ##Port##
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    ca CertRootFile
    cert UserCertificateFile
    key UserKeyFile
    comp-lzo
    verb 3
The certificate files are located in the same directory as the config file to import.

I am getting the following error.

AUTHRPC_ERRBACK: ParseClientProfile: multiline var 'ca' not closed out

Any ideas or suggestions are welcomed to clarify or address this error statement. To me the message is generally useless.

Tim

Re: Error when importing a config - AUTHRPC_ERRBACK

Posted: Sat Jan 07, 2012 11:23 pm
by Tim.Neto
Hi all.

I obtained another instance of the ca certificate file and that resolved my problem.

Tim

Re: Error when importing a config - AUTHRPC_ERRBACK

Posted: Mon Apr 29, 2013 12:51 am
by mrillies
Hi,

Just for those having this problem that arrive here like me.

Edit the -ca.crt file using notepad++ or similar
Place your cursor at the end of the last line of text and press enter.
Save and reload the .opvn

Some openVPN clients require a new line at the end of the file. Using Notepad++ you can see the line numbers.
there should be a line number next to a blank line at the end of the file