Thread Crypt::SSLeay & Zertifikate: Es will nicht klappen, HILFE! (6 answers)
Opened by dcraul at 2006-01-27 14:26

GwenDragon
 2006-01-27 15:01
#37040 #37040
User since
2005-01-17
14741 Artikel
Admin1
[Homepage]
user image
Also so ganz unverständlich ist die Doku zu Crypt::SSLeay nicht. Es braucht vielleicht ewas Geduld und Verständis für Programmierer-Englisch. ;)

Quote
PEM encoded certificate and private key files may be used like this:

 $ENV{HTTPS_CERT_FILE} = 'certs/notacacert.pem';
 $ENV{HTTPS_KEY_FILE}  = 'certs/notacakeynopass.pem';

Additionally, if you would like to tell the client where the CA file is, you may set these. These *CA* configs are ALPHA as of version .29.

 $ENV{HTTPS_CA_FILE} = "some_file";
 $ENV{HTTPS_CA_DIR}  = "some_dir";


$ENV{HTTPS_CERT_FILE} PEM-codiertes Zertifikat des Servers
$ENV{HTTPS_KEY_FILE}  PEM-kodierter privater Key des Servers
$ENV{HTTPS_CA_FILE}  Datei, welches die RootCA enthält

Quote
 # CLIENT PKCS12 CERT SUPPORT
 $ENV{HTTPS_PKCS12_FILE}     = 'certs/pkcs12.pkcs12';
 $ENV{HTTPS_PKCS12_PASSWORD} = 'PKCS12_PASSWORD';
Für Clientseitige Zertifikate

Der Server liefert doch ein Zertifikat an den Client für den SSL-Handshake.
Du musst nur das Root-CA und das Client-Zertifikat haben.\n\n

<!--EDIT|GwenDragon|1138367315-->

View full thread Crypt::SSLeay & Zertifikate: Es will nicht klappen, HILFE!