SSL client for Astaro Security Gateway (OpenVPN)
Posted: Mon 07 Dec 2009 15:53
Hi
I am trying to create a SSL client (in Delphi) that can connect to Astaro Security Gateway (free for small users !). The SSL-part in the Gateway is based on OpenVPN. I tried to create a ssl client as explained in the SecureBridge pdf manual, page 35. However, I am stuck with the error 'if a certificate is specified, it must have a private key'. As I am completely lost with certificate stuff, I hope someone can help me.
The Gateway has a user portal in which a user can download its ssl certificates. The certificates consist of four files: astaro.ca.crt, astaro.user.crt, astaro.user.key and [email protected]
I use ScFileStorage to hold the certificates. Both the *.crt files are immediately visible when double-clicking on ScFileStorage. In ScSSLClient I set CACertName=astaro.ca.crt, CertName=astaro.user.crt. All other settings as described op page 35.
if I set property IsSecure = True, the result is the 'must have private key'-error. I guess I need the *.key file as well, but no other import and/or settings I tried solved the error.
I am trying to create a SSL client (in Delphi) that can connect to Astaro Security Gateway (free for small users !). The SSL-part in the Gateway is based on OpenVPN. I tried to create a ssl client as explained in the SecureBridge pdf manual, page 35. However, I am stuck with the error 'if a certificate is specified, it must have a private key'. As I am completely lost with certificate stuff, I hope someone can help me.
The Gateway has a user portal in which a user can download its ssl certificates. The certificates consist of four files: astaro.ca.crt, astaro.user.crt, astaro.user.key and [email protected]
I use ScFileStorage to hold the certificates. Both the *.crt files are immediately visible when double-clicking on ScFileStorage. In ScSSLClient I set CACertName=astaro.ca.crt, CertName=astaro.user.crt. All other settings as described op page 35.
if I set property IsSecure = True, the result is the 'must have private key'-error. I guess I need the *.key file as well, but no other import and/or settings I tried solved the error.