rahmaiyed123
Messages postés82Date d'inscriptionmercredi 11 février 2015StatutMembreDernière intervention 4 décembre 2015
-
Modifié par jee pee le 30/04/2015 à 23:07
rahmaiyed123
Messages postés82Date d'inscriptionmercredi 11 février 2015StatutMembreDernière intervention 4 décembre 2015
-
30 avril 2015 à 23:43
Bonjour,
j'installe openssl-1.0.2a sous debian-3.0.8 mais lorsque j'éxécute CA.root m'affiche des erreurs
root@debian:/usr/local/openssl-certgen/ssl# chmod 700 CA.root
root@debian:/usr/local/openssl-certgen/ssl# ./CA.root./CA.root: ligne8: rm : commande introuvable
*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Creating self-signed private key and certificate
When prompted override the default value for the Common Name field
*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************./CA.root: ligne13:$'echo\r' : commande introuvableGenerating a 2048 bit RSA private key.....+++...............+++writing new private key to 'newreq.pem'-----You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter '.', the field will be left blank.-----Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Creating a new CA hierarchy (used later by the ca command) with the certificateand private key created in the last step*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************./CA.root: ligne22: $'echo\r' : commande introuvable./CA.root: ligne23: CA.pl : commande introuvable*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Creating ROOT CA*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************./CA.root: ligne27: $'echo\r' : commande introuvableError opening input file demoCA/cacert.pemdemoCA/cacert.pem: No such file or directoryError opening input file root.p12root.p12: No such file or directoryError opening Certificate root.pem3074410648:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('root.pem','r')3074410648:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:unable to load certificate./CA.root: ligne38: rm : commande introuvable
Judge_DT
Messages postés29412Date d'inscriptionvendredi 5 février 2010StatutModérateurDernière intervention23 octobre 20219 666 30 avril 2015 à 23:10
Salut,
Ton script possède déjà des erreurs, dans les commandes... Il retourne des commandes incorrectes... ce qui commence bien.
Error opening input file demoCA/cacert.pem demoCA/cacert.pem: No such file or directory Error opening input file root.p12 root.p12: No such file or directory Error opening Certificate root.pem 3074410648:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('root.pem','r') 3074410648:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: unable to load certificate
Et il ne sait pas ouvrir le fichier "cacert.pem" et les autres qui sont ensuite cités en dessous... Tu es sur que ton script est bon? Tu es sur d'avoir les fichiers qu'il cite et/ou, si ils doivent être créés par le script, qu'ils le soient bien?
Modifié par rahmaiyed123 le 30/04/2015 à 23:48