Pagina 2 di 3 primaprima 1 2 3 ultimoultimo
Visualizzazione dei risultati da 11 a 20 su 22
  1. #11
    Ah, non lo so, mai usato una vpn, interpretavo solo i messaggi che ti scrive Mi spiace

  2. #12
    Utente di HTML.it L'avatar di tony83
    Registrato dal
    Feb 2005
    Messaggi
    3,179
    Originariamente inviato da vortex87
    Ah, non lo so, mai usato una vpn, interpretavo solo i messaggi che ti scrive Mi spiace
    Si, ma c'è qualcosa di sbagliato credo...
    Tony

  3. #13
    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

  4. #14
    Utente di HTML.it L'avatar di tony83
    Registrato dal
    Feb 2005
    Messaggi
    3,179
    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
    Ho fatto cosi ecco i passaggi e l'output:

    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

  5. #15
    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.

  6. #16
    Utente di HTML.it L'avatar di tony83
    Registrato dal
    Feb 2005
    Messaggi
    3,179
    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.
    l'ho gia fatto:

    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

  7. #17
    ./clean-all serve per: to delete any previous certificates and keys, run "./clean-all"



    ricapitoliamo:

    source ./vars
    ./clean-all
    ./build-ca

  8. #18
    Utente di HTML.it L'avatar di tony83
    Registrato dal
    Feb 2005
    Messaggi
    3,179
    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
    Con utente è andato avanti.
    Mi ha chiesto di nuovo tutti i dati:
    Country name, etc..

    ora che devo fare ?
    finito ?
    Tony

  9. #19
    Utente di HTML.it L'avatar di tony83
    Registrato dal
    Feb 2005
    Messaggi
    3,179
    Originariamente inviato da tony83
    Con utente è andato avanti.
    Mi ha chiesto di nuovo tutti i dati:
    Country name, etc..

    ora che devo fare ?
    finito ?
    Ho concluso cosi:

    ./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

  10. #20
    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

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.