{"provider_url":"https://hatena.blog","width":"100%","categories":[],"published":"2015-01-28 23:04:18","url":"https://inaz2.hatenablog.com/entry/2015/01/28/230418","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finaz2.hatenablog.com%2Fentry%2F2015%2F01%2F28%2F230418\" title=\"OpenSSL\u3067\u96d1\u306bCA\u3092\u69cb\u7bc9\u3059\u308b - \u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","title":"OpenSSL\u3067\u96d1\u306bCA\u3092\u69cb\u7bc9\u3059\u308b","version":"1.0","author_name":"inaz2","blog_title":"\u3082\u3082\u3044\u308d\u30c6\u30af\u30ce\u30ed\u30b8\u30fc","height":"190","blog_url":"https://inaz2.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/inaz2/","provider_name":"Hatena Blog","description":"CA.sh\u3084openssl.cnf\u306b\u89e6\u3089\u305a\u306bCA\u8a3c\u660e\u66f8\u3092\u4f5c\u3063\u3066\u7f72\u540d\u3059\u308b\u65b9\u6cd5\u306e\u30e1\u30e2\u3002 \u306a\u304a\u3001\u304d\u3061\u3093\u3068\u3057\u305f\u904b\u7528\u304c\u5fc5\u8981\u306a\u5834\u9762\u3067\u306f\u53c2\u8003\u306b\u3059\u3079\u304d\u3067\u306a\u3044\u3002 \u8a71\u3092\u5358\u7d14\u306b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u3067\u7528\u3044\u308b\u516c\u958b\u9375\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f\u3059\u3079\u3066RSA 2048 bit\u3068\u3059\u308b\u3002 CA\u8a3c\u660e\u66f8\u306e\u4f5c\u6210 \u81ea\u5df1\u7f72\u540d\u8a3c\u660e\u66f8\u3092\u4f5c\u308b\u3068\u81ea\u52d5\u7684\u306bBasic Constraints\u306bCA:TRUE\u304c\u4ed8\u304f\u305f\u3081\u3001\u305d\u306e\u307e\u307eCA\u8a3c\u660e\u66f8\uff08\u3088\u308a\u6b63\u78ba\u306b\u306f\u30eb\u30fc\u30c8\u8a3c\u660e\u66f8\uff09\u3068\u306a\u308b\u3002 $ openssl genrsa -out ca.key 2048 $ openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj\u2026","image_url":null}