==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=5495

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

           Summary: Cannot open file key file 'takey.pem'
           Product: SME Contribs
  Found-In-Version: 7.4
          Platform: PC
  Fixed-In-Version: Unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: openvpn-server-bridge
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


I've just setup openvpn-bridge as per howto but having problems connecting.
After I setup the certificates using phpki (including a static key) and have
the green "Certificates are ready". I generate the following config file:

rport 1194
proto udp
dev tap
nobind
remote server.somedomain.com

tls-client
tls-auth takey.pem 1
ns-cert-type server


# Replace user.p12 with the certificate
# bundle in PKCS12 format
pkcs12 myown.p12

# You can replace the pkcs12
# directive with the old ones
#ca cacert.pem
#cert user.pem
#key user-key.pem

mtu-test
comp-lzo
pull

I then cut and paste the contents of the static key into a file called
takey.pem and put this, the p12 bundle and the config file into the windows
client and run it but get the following:

"Tue Sep 29 15:09:50 2009 Cannot open file key file 'takey.pem': The system
cannot find the file specified.   (errno=2)"

If I remove the static key from the certificates and generate a new config file
this removes the following two lines:

tls-client
tls-auth takey.pem 1

but I still get an error:

"Options error: Parameter pkcs12_file can only be specified in TLS-mode, i.e.
where --tls-server or --tls-client is also specified."

-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to