07.06.2014 Views

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

2 - Raspberry PI Community Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

crt for the public certificate, keys/vpn.falcot.com.keyfor the private key):<br />

$ ./build-key-server vpn.falcot.com<br />

Generating a 1024 bit RSA private key<br />

...............++++++<br />

...........++++++<br />

writing new private key to 'vpn.falcot.com.key'<br />

-----<br />

You are about to be asked to enter information that will be incorporated<br />

into your certificate request.<br />

What you are about to enter is what is called a Distinguished Name or a DN.<br />

There are quite a few fields but you can leave some blank<br />

For some fields there will be a default value,<br />

If you enter '.', the field will be left blank.<br />

-----<br />

Country Name (2 letter code) [FR]:<br />

State or Province Name (full name) [Loire]:<br />

Locality Name (eg, city) [Saint-Étienne]:<br />

Organization Name (eg, company) [Falcot Corp]:<br />

Organizational Unit Name (eg, section) []:<br />

Common Name (eg, your name or your server's hostname) [vpn.falcot.com]:<br />

Name []:<br />

Email Address [admin@falcot.com]:<br />

Please enter the following 'extra' attributes<br />

to be sent with your certificate request<br />

A challenge password []:<br />

An optional company name []:<br />

Using configuration from /home/rhertzog/pki-falcot/openssl.cnf<br />

Check that the request matches the signature<br />

Signature ok<br />

The Subject's Distinguished Name is as follows<br />

countryName<br />

:PRINTABLE:'FR'<br />

stateOrProvinceName :PRINTABLE:'Loire'<br />

localityName<br />

:T61STRING:'Saint-\0xFFFFFFC3\0xFFFFFF89tienne'<br />

organizationName :PRINTABLE:'Falcot Corp'<br />

commonName<br />

:PRINTABLE:'vpn.falcot.com'<br />

emailAddress<br />

:IA5STRING:'admin@falcot.com'<br />

Certificate is to be certified until Oct 9 13:57:42 2020 GMT (3650 days)<br />

Sign the certificate? [y/n]:y<br />

1 out of 1 certificate requests certified, commit? [y/n]y<br />

Write out database with 1 new entries<br />

Chapter 10 — Network Infrastructure<br />

227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!