flagflag  
8: 2018-05-12 (Sat) 18:38:44 iseki source Cur: 2023-08-12 (Sat) 10:53:01 iseki source
Line 1: Line 1:
-** OpenSSL [#i4f7b286]+** OpenSSL [#o98d2107] 
 +*** コマンド例[#i4f7b286] 
 + 
 +**** CAに認証してもらう (pem) [#o06fc354] 
 +- openssl genrsa -out private/key.pem 2048 
 +- openssl req -new -key private/key.pem -out csr.pem 
 + 
 +**** オレオレ証明書 [#u4112959] 
 +- openssl req -new -newkey rsa:2048 -days 3650 -nodes -keyout private.pem -out server.csr 
 +- openssl x509 -in server.csr -days 3650 -req -signkey private/key.pem -out server.pem 
 + 
 +**** オレオレ認証局 [#x95593cd] 
 +- openssl req -new -x509 -key private/key.pem -out server.crt -days 3650 
 +#br 
 + 
 +** Install [#sab17923] 
***1.1.0e Install [#o0147261] ***1.1.0e Install [#o0147261]
-see https://http2.try-and-test.net/openssl1_​1_0.html -see https://http2.try-and-test.net/openssl1_​1_0.html
Line 15: Line 31:
 # make install  # make install
- /etc/ld.so.conf に /usr/local/lib64 を追加して ldconfig を実行する. - /etc/ld.so.conf に /usr/local/lib64 を追加して ldconfig を実行する.
 +- for PHP7
 + cd /usr/local/lib
 + ln -s ../lib64/* .
 +
#br #br
Line 42: Line 62:
*** 確認コマンド [#va7af9ed] *** 確認コマンド [#va7af9ed]
-- バイナリ+- Cert バイナリ
 openssl x509 -inform der -in cert.crt -text  openssl x509 -inform der -in cert.crt -text
-- Pem+- Cert Pem
 openssl x509 -in cert.pem -text  openssl x509 -in cert.pem -text
 +- CSR
 + openssl req -in csr.pem -text
#br #br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

31 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 31

more...

Access Counter

Today : 345345345
Yesterday : 5790579057905790
Total : 2365314123653141236531412365314123653141236531412365314123653141
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com