Ah, non lo so, mai usato una vpn, interpretavo solo i messaggi che ti scriveMi spiace
Ah, non lo so, mai usato una vpn, interpretavo solo i messaggi che ti scriveMi spiace
Si, ma c'è qualcosa di sbagliato credo...Originariamente inviato da vortex87
Ah, non lo so, mai usato una vpn, interpretavo solo i messaggi che ti scriveMi spiace
![]()
![]()
Tony
dovresti essere nella directory:
/usr/share/doc/openvpn/examples/easy-rsa
poi editi vars con le tue variabili
poi esegui ./vars
poi: ./clean-all
poi: ./build-c
ecc.
ti ripeto serve solo per la creazione del certificato delle chiavi per criptare la trasmissione
Ho fatto cosi ecco i passaggi e l'output:Originariamente inviato da sacarde
dovresti essere nella directory:
/usr/share/doc/openvpn/examples/easy-rsa
poi editi vars con le tue variabili
poi esegui ./vars
poi: ./clean-all
poi: ./build-c
ecc.
ti ripeto serve solo per la creazione del certificato delle chiavi per criptare la trasmissione
codice:tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./vars NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys NOTE: when you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./clean-all Please source the vars script first (i.e. "source ./vars") Make sure you have edited it to reflect your configuration. tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./clean-all tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./vars NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys NOTE: when you run ./clean-all, I will be doing a rm -rf on /usr/share/doc/openvpn/examples/easy-rsa/2.0/keys tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./clean-all Please source the vars script first (i.e. "source ./vars") Make sure you have edited it to reflect your configuration. tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./buil-c -bash: ./buil-c: Nessun file o directory tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$ ./build-ca Please edit the vars script to reflect your configuration, then source it with "source ./vars". Next, to start with a fresh PKI configuration and to delete any previous certificates and keys, run "./clean-all". Finally, you can run this tool (pkitool) to build certificates/keys. tony@pc-linux-download:/usr/share/doc/openvpn/examples/easy-rsa/2.0$
Tony
mi sono sbagliato a scrivere ./build-c e' ./build-ca
ma prima di eseguirlo devi valorizzare le variabili dentro vars
poi prova a eseguire: source ./vars
e poi generi il certificato: ./build-ca
ecc.
l'ho gia fatto:Originariamente inviato da sacarde
mi sono sbagliato a scrivere ./build-c e' ./build-ca
ma prima di eseguirlo devi valorizzare le variabili dentro vars
poi prova a eseguire: source ./vars
e poi generi il certificato: ./build-ca
ecc.
mi dice:
Please source the vars script first (i.e. "source ./vars")
Make sure you have edited it to reflect your configuration.
Quando faccio:
./clean-all
Tony
./clean-all serve per: to delete any previous certificates and keys, run "./clean-all"
ricapitoliamo:
source ./vars
./clean-all
./build-ca
Con utente è andato avanti.Originariamente inviato da sacarde
./clean-all serve per: to delete any previous certificates and keys, run "./clean-all"
ricapitoliamo:
source ./vars
./clean-all
./build-ca
Mi ha chiesto di nuovo tutti i dati:
Country name, etc..
ora che devo fare ?
finito ?
Tony
Ho concluso cosi:Originariamente inviato da tony83
Con utente è andato avanti.
Mi ha chiesto di nuovo tutti i dati:
Country name, etc..
ora che devo fare ?
finito ?
./build-key-server server
Generating a 1024 bit RSA private key
...........++++++
..................++++++
writing new private key to '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) [IT]:IT
State or Province Name (full name) [RM]:RM
Locality Name (eg, city) [ROMA]:ROMA
Organization Name (eg, company) [infoweb.roma@gmail.com]:infoweb.roma@gmail.com
Organizational Unit Name (eg, section) []:infoweb
Common Name (eg, your name or your server's hostname) [server]:infoweb
Email Address [Antonio.Sulla@gmail.com]:Antonio.Sulla@gmail.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:infowebTony83
An optional company name []:infoweb.roma
Using configuration from /usr/share/doc/openvpn/examples/easy-rsa/2.0/openssl.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'IT'
stateOrProvinceName :PRINTABLE:'RM'
localityName :PRINTABLE:'ROMA'
organizationName :T61STRING:'infoweb.roma@gmail.com'
organizationalUnitName:PRINTABLE:'infoweb'
commonName :PRINTABLE:'infoweb'
emailAddress :IA5STRING:'Antonio.Sulla@gmail.com'
Certificate is to be certified until Nov 3 14:28:17 2018 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
Giusto ?
finito ?
come lo provo ?
Tony
su la macchina server lanci openvpn con il config server.conf allegato alla guida
e su la macchina client lanci openvpn con il config client.conf della guida