O‘zbekiston xalqaro islom akademiyasi Islom iqtisodiyoti va xalqaromunosabatlar fakulteti Axborot xavfsizligini boshqarish 3-kurs talabasi




Download 150,17 Kb.
Sana24.05.2024
Hajmi150,17 Kb.
#252431
Bog'liq
12labkripto ss


O‘zbekiston xalqaro islom akademiyasi
Islom iqtisodiyoti va xalqaromunosabatlar fakulteti
Axborot xavfsizligini boshqarish 3-kurs talabasi
Sobirjonova Sarvinoz
Fan: Kriptografiya va kriptoanaliz usullari II
Laboratoriya mashg'ulot №12

Qabul qiluvchi: F.Bekkamov




C:\Users>cd ..


C:\>cd sarvinoz


C:\sarvinoz>c:\OpenSSL\OpenSSL-Win64\bin\


'c:\OpenSSL\OpenSSL-Win64\bin\' is not recognized as an internal or external command,
operable program or batch file.

C:\sarvinoz>c:\OpenSSL\OpenSSL-Win64\bin\openssl.exe


OpenSSL> genrsa -des3 -out c:\sarvinoz\private.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
..................................+++++
..................+++++
e is 65537 (0x010001)
Enter pass phrase for c:\sarvinoz\private.key:
Verifying - Enter pass phrase for c:\sarvinoz\private.key:
OpenSSL> req -new -key c:\sarvinoz\private.key -out c:\sarvinoz\csr.csr
Enter pass phrase for c:\sarvinoz\private.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) [AU]:uzbekistan
string is too long, it needs to be no more than 2 bytes long
Country Name (2 letter code) [AU]:fergana
string is too long, it needs to be no more than 2 bytes long
Country Name (2 letter code) [AU]:tashkent
string is too long, it needs to be no more than 2 bytes long
Country Name (2 letter code) [AU]:uz
State or Province Name (full name) [Some-State]:uzbekistan
Locality Name (eg, city) []:tashkent
Organization Name (eg, company) [Internet Widgits Pty Ltd]:iiau
Organizational Unit Name (eg, section) []:axb
Common Name (e.g. server FQDN or YOUR name) []:sarvinoz
Email Address []:sarvinoz@gmail.com

Please enter the following 'extra' attributes


to be sent with your certificate request
A challenge password []:1234
An optional company name []:axb
OpenSSL> x509 -req -days 365 -in c:\sarvinoz\csr.csr -signkey c:\sarvinoz\private.key -out c:\sarvinoz\sarvinoz.pem
Signature ok
subject=C = uz, ST = uzbekistan, L = tashkent, O = iiau, OU = axb, CN = sarvinoz, emailAddress = sarvinoz@gmail.com
Getting Private key
Enter pass phrase for c:\sarvinoz\private.key:
OpenSSL>
OpenSSL>



Download 150,17 Kb.




Download 150,17 Kb.

Bosh sahifa
Aloqalar

    Bosh sahifa



O‘zbekiston xalqaro islom akademiyasi Islom iqtisodiyoti va xalqaromunosabatlar fakulteti Axborot xavfsizligini boshqarish 3-kurs talabasi

Download 150,17 Kb.