# build server side key
# server name must equals to the KEY_NAME in vars
$ ./build-key-server vpnserver
Generating a 2048 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) [TW]:
State or Province Name (full name) [CA]:
Locality Name (eg, city) [Taipei]:
Organization Name (eg, company) [Prhythm-Studio]:
Organizational Unit Name (eg, section) [RD]:
Common Name (eg, your name or your server's hostname) [server]:
Name [server]:
Email Address [xooooooo@myhost.mydomain]:

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Using configuration from /home/android/openvpn-ca/openssl-1.0.0.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'TW'
stateOrProvinceName   :PRINTABLE:'CA'
localityName          :PRINTABLE:'Taipei'
organizationName      :PRINTABLE:'Prhythm-studio'
organizationalUnitName:PRINTABLE:'RD'
commonName            :PRINTABLE:'client-c6602'
name                  :PRINTABLE:'vpnserver'
emailAddress          :IA5STRING:'mxxxxxxxxx@gmail.com'
Certificate is to be certified until Apr 27 09:24:08 2027 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