If you enter '.', the field will be left blank.-----Country Name (2 letter code) [US]:State or Province Name (full name) [NY]:Locality Name (eg, city) [New York]:Organization Name (eg, company) [johndoe]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:nsaEmail Address [johndoe@nsa.us.gov]: Note that in the above sequence, most queried parameters were defaulted to the values set in thevars.bat files. The only parameter which must be explicitly entered is the Common Name. In theexample above, I used "nsa".Generate certificate & key for server build-key-server.bat server As in the previous step, most parameters can be defaulted. When the Common Name is queried, enter "server". Two other queries require positive responses, "Sign the certificate? [y/n]" and "1 out of 1certificate requests certified, commit? [y/n]".Generate certificates & keys for 3 clientsbuild-key.bat client1build-key.bat client2build-key.bat client3If you would like to password-protect your client keys, substitute the build-key-pass script.Remember that for each client, make sure to type the appropriate Common Name when prompted, i.e."client1", "client2", or "client3". Always use a unique common name for each client.
Generate Diffie Hellman parameters
Diffie Hellman parameters must be generated for the OpenVPN server.
Add a Comment