Download Intrusion Detection für Linux

Transcript
Kapitel 11
· Aufbau eines Netzes aus Snort-Sensoren
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) [GB]:DE
State or Province Name (full name) [Berkshire]:NRW
Locality Name (eg, city) [Newbury]:Steinfurt
Organization Name (eg, company) [My Company Ltd]:spenneberg.com
Organizational Unit Name (eg, section) []:stunnel
Common Name (eg, your name or your server's hostname) []:Sensor1
Email Address []:[email protected]
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Request (and private key) is in newreq.pem
# /usr/share/ssl/misc/CA -sign
Using configuration from /usr/share/ssl/openssl.cnf
Enter PEM pass phrase:kennwortCA
Check that the request matches the signature
Signature ok
The Subjects Distinguished Name is as follows
countryName
:PRINTABLE:'DE'
stateOrProvinceName :PRINTABLE:'NRW'
localityName
:PRINTABLE:'Steinfurt'
organizationName
:PRINTABLE:'spenneberg.com'
organizationalUnitName:PRINTABLE:'stunnel'
commonName
:PRINTABLE:'Sensor1'
emailAddress
:IA5STRING:'[email protected]'
Certificate is to be certified until Jul 26 07:52:54 2003 GMT (365 days)
Sign the certificate? [y/n]:y
Write out database with 1 new entries
Data Base Updated
The Certificate is printed on the screen
Signed certificate is in newcert.pem
# mv newreq.pem sensor1.pem
# mv newcert.pem sensor1cert.pem
345