Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem SSL Zertifikat
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
tobimat80
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 272
Location: Trier - Germany

PostPosted: Thu Oct 23, 2003 7:14 pm    Post subject: Problem SSL Zertifikat Reply with quote

Hallo!

Bin dem Virtual Mailhosting System Guide von gentoo.org gefolgt, doch beim erstellen von den SSL Zertifikaten kommt folgende Fehlermeldung:

>./CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
unable to load CA private key
11695:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:666:Expecting: ANY PRIVATE KEY
Signed certificate is in newcert.pem

Was fang ich mit den Errorcodes an?

Gruß
Tobi
Back to top
View user's profile Send private message
Private_X
n00b
n00b


Joined: 30 May 2003
Posts: 34
Location: Germany

PostPosted: Fri Oct 24, 2003 12:34 pm    Post subject: Reply with quote

Da scheint die Kopfzeile zu fehlen oder fehlerhaft zu sein. Kannst ja mal einen Key von Hand erzeugen und ihn dann mit dem "cakey.pem" der von dem Script erzeugt wird vergleichen.
Code:
openssl genrsa -out key.pem 1024

Die Kopfzeile sollte mit "-----BEGIN RSA PRIVATE KEY-----" beginnen. Und falls sie nicht übereinstimmen dann leg den Key in den passenden Ordner der in dem CA.pl Script angegeben ist. Vielleicht hilft das weiter.

P.S.: Bin nicht sicher ob es der Key ist der gebraucht wird.
Back to top
View user's profile Send private message
tobimat80
Apprentice
Apprentice


Joined: 27 May 2003
Posts: 272
Location: Trier - Germany

PostPosted: Fri Oct 24, 2003 5:06 pm    Post subject: Reply with quote

Hey, danke für den Tip!!

Hab meinen Fehler nach einiger Recherche im Netz selbst gefunden:

Da wurde schon eine demoCA - Datei erstellt - nachdem die gelöscht wurde hat alles geklappt.

Gruß
Tobi
_________________
Wer Rechtschreibfehler findet, darf sie behalten und auf DVD brennen!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum