Je refais la manip de A à Z pour recréer les fichiers, car ils ne sont peut être pas bon ? Bref voici les quelques erreurs affichés lorsque je suis le Tuto, je ne sais pas si ce sont vraiment des erreurs mais je vais toutes les écrire au cas où:
Je précise que je suis administrateur de mon ordinateur, que j'ai ouvert l'invite de commande en mode administrateur.
- Lorsque je tape clean-all, ça me dit:
C:\Program Files (x86)\OpenVPN\easy-rsa>clean-all
Le chemin d'accès spécifié est introuvable.
Le fichier spécifié est introuvable.
1 fichier(s) copié(s).
1 fichier(s) copié(s).
- Lorsque je tape build-ca:
C:\Program Files (x86)\OpenVPN\easy-rsa>build-ca
Le chemin d'accès spécifié est introuvable.
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
.............................++++++
..++++++
unable to write 'random state'
writing new private key to 'keys\ca.key'
-----
You are about to be asked to enter information that will be incorporated
into 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 blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:
State or Province Name (full name) [XX]:
Locality Name (eg, city) [XXXXX]:
Organization Name (eg, company) [XXXX]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:XXXXXX
Email Address [XXXX@hotmail.fr]:
- Lorsque je tape build-key-server server:
C:\Program Files (x86)\OpenVPN\easy-rsa>build-key-server server
Le chemin d'accès spécifié est introuvable.
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
...........++++++
.....++++++
unable to write 'random state'
writing new private key to 'keys\server.key'
-----
You are about to be asked to enter information that will be incorporated
into 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 blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:
State or Province Name (full name) [XX]:
Locality Name (eg, city) [XX]:
Organization Name (eg, company) [XX]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:server
Email Address [XX@hotmail.fr]:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Using configuration from openssl.cnf
Loading 'screen' into random state - done
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName 'XX'
stateOrProvinceName 'XX'
localityName 'XX'
organizationName 'XX'
commonName 'server'
emailAddress 'XX@hotmail.fr'
Certificate is to be certified until Feb 10 09:17:00 2021 GMT (3650 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
- Je génère un clé local pour client 1, je tape build-key client1
C:\Program Files (x86)\OpenVPN\easy-rsa>build-key client1
Le chemin d'accès spécifié est introuvable.
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
...........++++++
...++++++
unable to write 'random state'
writing new private key to 'keys\client1.key'
-----
You are about to be asked to enter information that will be incorporated
into 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 blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:
State or Province Name (full name) [XX]:
Locality Name (eg, city) [XX]:
Organization Name (eg, company) [XX]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:client1
Email Address [XX@hotmail.fr]:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Using configuration from openssl.cnf
Loading 'screen' into random state - done
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName 'XX'
stateOrProvinceName 'XX'
localityName 'XX'
organizationName 'XX'
commonName 'client1'
emailAddress 'XX@hotmail.fr'
Certificate is to be certified until Feb 10 09:30:00 2021 GMT (3650 days)
Sign the certificate? [y/n]:y
1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
- Je génère le dernier fichier dh1024.pem
C:\Program Files (x86)\OpenVPN\easy-rsa>build-dh
Le chemin d'accès spécifié est introuvable.
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
..................................................+.............................
.................................................+..............................
.....+.................................................+.....+..................
.....................................................................+......++*+
+*++*
unable to write 'random state'
Alors là je ne comprends plus lorsque j'ai fait cette manip il y a une semaine le fichier dh1024.pem avait été créé mais là cette fois ci le fichier ne veut pas se créer...
Je désinstalle tout je supprime le dossier openvnp avec les fichiers que j'avais créés, je réinstalle, je refait la manip et rebelotte, le fichier dh1024.pem ne se créé pas...
Donc au final si j'ai pas ce fichier, je ne peux plus rien faire Où pourrais-je trouver des fichiers tout faits ( comme dans le tuto rapide mais les liens sont morts ) comme ça
je remplace juste les lignes qui m’intéressent...
Message édité par tdi78 le 13-02-2011 à 10:52:12