openssl s_client -connect www.cxdnext.co.jp:443 -servername www.cxdnext.co.jp -debug
vi /etc/ssl/openssl.cnf
[ client_cert ]
basicConstraints=CA:FALSE
keyUsage = digitalSignature, keyEncipherment
extendedKeyUsage = clientAuth
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid,issuer
クライアント証明書作成
# openssl req -config openssl.cnf -new -keyout yone.key.pem -out yone.req.pem -days 365 -extensions client_cert
Generating a 1024 bit RSA private key
認証局が署名
# openssl ca -config openssl.cnf -policy policy_anything -out yone.cert.pem -extensions client_cert -infiles yone.req.pem
Using configuration from openssl.cnf
ユーザに配布するファイルを作成。
# openssl pkcs12 -export -in newcerts/04.pem -inkey private/04.pem -certfile cacert.pem -out yone.p12
by http://www.webtech.co.jp/blog/optpix_labs/server/1780/
http://qiita.com/mitzi2funk/items/602d9c5377f52cb60e54
2015年10月2日金曜日
登録:
コメントの投稿 (Atom)
keychron k8 max
https://launcher.keychron.com/ $ sudo tee /etc/udev/rules.d/99-keychron.rules <<EOF KERNEL=="hidraw*", SUBSYSTEM=="hid...
-
■Rocky Linux8 ORACLE RPM インストール # curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/ap...
-
Permission denied: [client 127.0.0.1:33562] mod_wsgi (pid=5683): Unable to connect to WSGI daemon process 'analyze' on '/etc/htt...
-
$ alias sqlplus='rlwrap -pRed -if /usr/local/opt/rlwrap-extensions/sqlplus sqlplus64' $ sqlplus user/password@192.168.1.xxx:1521/sid...
0 件のコメント:
コメントを投稿