{"id":164,"date":"2018-05-20T21:11:37","date_gmt":"2018-05-20T12:11:37","guid":{"rendered":"https:\/\/0x0c.info\/?p=164"},"modified":"2018-05-20T21:11:37","modified_gmt":"2018-05-20T12:11:37","slug":"openssl%e3%81%ab%e3%82%88%e3%82%8b%e6%a5%95%e5%86%86%e6%9b%b2%e7%b7%9a%e6%9a%97%e5%8f%b7%e3%81%ae%e5%88%a9%e7%94%a8","status":"publish","type":"post","link":"https:\/\/0x0c.info\/?p=164","title":{"rendered":"OpenSSL\u306b\u3088\u308b\u6955\u5186\u66f2\u7dda\u6697\u53f7\u306e\u5229\u7528"},"content":{"rendered":"<h3>\u30ad\u30fc\u751f\u6210<\/h3>\n<pre><code>openssl ecparam -genkey -name secp384r1 -out ec-key.pem\n<\/code><\/pre>\n<h3>\u30ea\u30af\u30a8\u30b9\u30c8<\/h3>\n<pre><code>openssl req -new -sha256 -key ec-key.pem -subj \"\/C=JP\/ST=State\/L=City\/O=Org.\/OU=EC Test Div.\/CN=test.example.com\" -out eccsr.pem\n<\/code><\/pre>\n<h3>\u81ea\u5df1\u7f72\u540d(\u3057\u305f\u3051\u308c\u3070)<\/h3>\n<pre><code>openssl x509 -req -sha256 -days 3650 -in eccsr.pem -signkey ec-key.pem -out eccsr.ct\n<\/code><\/pre>\n<h3>pfx(\u306b\u3057\u305f\u3051\u308c\u3070)<\/h3>\n<pre><code>openssl pkcs12 -export -in eccsr.ct -inkey ec-key.pem -out ec141114.pfx\n<\/code><\/pre>\n<hr \/>\n<h3>\u30ad\u30fc\u3092\u6697\u53f7\u5316\u3059\u308b\u5834\u5408<\/h3>\n<pre><code>openssl ecparam -genkey -name secp384r1 -out ec-key.pem\nopenssl ec -in ec-key.pem -aes256 -out enc_ec-key.pem\nopenssl req -new -sha256 -key enc_ec-key.pem -subj \"\/C=JP\/ST=State\/L=City\/O=Org.\/OU=EC Test Div.\/CN=test.example.com\" -out eccsr.pem\nopenssl x509 -req -sha256 -days 3650 -in eccsr.pem -signkey enc_ec-key.pem -out eccsr.ct\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30ad\u30fc\u751f\u6210 openssl ecparam -genkey -name secp384r1 -out ec-key.pem \u30ea\u30af\u30a8\u30b9\u30c8 openssl req -new -sha256 -key ec-key.pem -subj &#8220;\/C=JP\/ST=State\/L=City\/O=Org.\/OU=EC Test Div.\/CN=test.example.com&#8221; -out eccsr.pem \u81ea\u5df1\u7f72\u540d(\u3057\u305f\u3051\u308c\u3070) openssl x509 -req -sha256 -days 3650 -in eccsr.pem -signkey ec-key.pem -out eccsr.ct pfx(\u306b\u3057\u305f\u3051\u308c\u3070) openssl pkcs12 -export -in eccsr.ct -inkey ec-key.pem -out ec141114.pfx \u30ad\u30fc\u3092\u6697\u53f7\u5316\u3059\u308b\u5834\u5408 openssl ecparam -genkey -name secp384r1 -out ec-key.pem openssl ec -in &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/0x0c.info\/?p=164\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OpenSSL\u306b\u3088\u308b\u6955\u5186\u66f2\u7dda\u6697\u53f7\u306e\u5229\u7528&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[57,199],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-linux","tag-openssl","tag-199"],"_links":{"self":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":0,"href":"https:\/\/0x0c.info\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"wp:attachment":[{"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/0x0c.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}