jaan. 072011
 

1.Genereeri 2048 bitine privaatvõti:
openssl genrsa -des3 -out serverinimi.key 2048
NB!Parooli küsitakse igal serveri käivitamisel.Ilma paroolita serdi genereerimisel tuleb käsust “-des3” ära jätta.

2.Genereeri csr
openssl req -new -key serverinimi.key -out certificate.csr
Enter pass phrase for serverinimi.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) [GB]:EE
State or Province Name (full name) [Berkshire]:Tartu
Locality Name (eg, city) [Newbury]:Tartu
Organization Name (eg, company) [My Company Ltd]:The Geek Stuff
Organizational Unit Name (eg, section) []:IT
Common Name (eg, your name or your server's hostname) []: www.serverinimi.ee
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

NB! Wildcard serdi taotlemisel tuleb kirjutada Common Name kohale *.serverinimi.ee

3.Kopeeri csr-i sisu serdi väljaandja vastavasse vormi:
-----BEGIN CERTIFICATE REQUEST-----
MIIBPTCB6AIBADCBhDELMAkFA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2Fw
ZTESMBAGA1UEBxMJQ2FwZSBUb3duMRQwEgYDVQQKEwtPcHBvcnR1bml0aTEYMBYG
A1UECxMPT25saW5lIFNlcnZpY2VzMRowGAYDVQQDExF3d3cuZm9yd2FyZC5jby56
YTBaMA0GCSqGSIb3DQEBAQUAA0kAMEYCQQDT5oxxeBWu5WLHD/G4BJ+PobiC9d7S
6pDvAjuyC+dPAnL0d91tXdm2j190D1kgDoSp5ZyGSgwJh2V7diuuPlHDAgEDoAAw
DQYJKoZIhvcNAQEEBQADQQBf8ZHIu4H8ik2vZQngXh8v+iGnAXD1AvUjuDPCWzFu
pReiq7UR8Z0wiJBeaqiuvTDnTFMz6oCq6htdH7/tvKhh
-----END CERTIFICATE REQUEST-----

selle põhjal genereeritakse ja saadetakse sert.

Juhend asub http://help.godaddy.com/topic/746

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(vajalik)

(vajalik)

This site uses Akismet to reduce spam. Learn how your comment data is processed.