OpenSSL di Jendela

Biasanya buat OpenSSL di unix/linux, kebetulan lagi pakai jendela.
Akhirnya gue buat deh, pakai file binaries jendela.

Sebaiknya anda langsung mengubah konfigurasi default openssl, karena openssl ini dibuat defaultnya untuk struktur direktori unix/linux. Jika anda paksakan langsung, maka akan keluar seperti dibawah ini.

C:\OpenSSL-Win64\bin>openssl genrsa -des3 -out hotspot.key 1024
WARNING: can’t open config file: /usr/local/ssl/openssl.cnf
Loading ‘screen’ into random state – done
Generating RSA private key, 1024 bit long modulus
………..++++++
……………………………………………………………………..
……………….++++++
e is 65537 (0x10001)
Enter pass phrase for hotspot.key:
Verifying – Enter pass phrase for hotspot.key:
Verify failure
User interface error
4844:error:0906906F:PEM routines:PEM_ASN1_write_bio:read key:.\crypto\pem\pem_li
b.c:382:

C:\OpenSSL-Win64\bin>openssl genrsa -des3 -out hotspot.key 1024
WARNING: can’t open config file: /usr/local/ssl/openssl.cnf
Loading ‘screen’ into random state – done
Generating RSA private key, 1024 bit long modulus
………..++++++
..++++++
e is 65537 (0x10001)
Enter pass phrase for hotspot.key:
Verifying – Enter pass phrase for hotspot.key:

C:\OpenSSL-Win64\bin>openssl req -new -key hotspot.key -out hotspot.csr
WARNING: can’t open config file: /usr/local/ssl/openssl.cnf
Unable to load config info from /usr/local/ssl/openssl.cnf

Untuk mengubah konfigurasinya
set OPENSSL_CONF=c:\[PATH TO YOUR OPENSSL DIRECTORY]\bin\openssl.cfg

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s