{"author_name":"bearmini","height":"190","provider_name":"Hatena Blog","width":"100%","title":"RSA \u79d8\u5bc6\u9375/\u516c\u958b\u9375\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8","image_url":null,"published":"2014-02-05 14:35:10","author_url":"https://blog.hatena.ne.jp/bearmini/","blog_title":"bearmini's blog","categories":[],"version":"1.0","provider_url":"https://hatena.blog","blog_url":"https://bearmini.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbearmini.hatenablog.com%2Fentry%2F2014%2F02%2F05%2F143510\" title=\"RSA \u79d8\u5bc6\u9375/\u516c\u958b\u9375\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8 - bearmini&#39;s blog\" 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","url":"https://bearmini.hatenablog.com/entry/2014/02/05/143510","description":"openssl \u30b3\u30de\u30f3\u30c9\u3067\u751f\u6210\u3055\u308c\u308b RSA \u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u4e2d\u8eab\u304c\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u8abf\u3079\u3066\u307f\u305f\u3002 \u521d\u5fc3\u8005\u306b\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e\u3055\u308c\u305f\u30b5\u30a4\u30c8\u304c\u610f\u5916\u3068\u898b\u5f53\u305f\u3089\u306a\u304b\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u307e\u3068\u3081\u3066\u304a\u304f\u3002\u307e\u305a\u3001\u9375\u306e\u751f\u6210\u306b\u4f7f\u3063\u305f\u30b3\u30de\u30f3\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\uff1a $ openssl genrsa 2048 > rsaprivate.key2048 \u3068\u3044\u3046\u306e\u306f\u9375\u306e bit \u6570\u3002\u4ee5\u4e0b\u306e\u8aac\u660e\u3067\u306f\u3001\u3042\u307e\u308a\u9577\u3044\u9375\u3060\u3068\u308f\u304b\u308a\u306b\u304f\u304f\u306a\u3063\u3061\u3083\u3046\u306e\u3067\u77ed\u304f\u3057\u3066 256 bit \u306e\u9375\u306b\u3057\u3066\u307f\u305f\u3002 \u3088\u3044\u5b50\u306e\u307f\u3093\u306a\u306f\u3053\u3093\u306a\u77ed\u3044\u9375\u306f\u4f7f\u3063\u3061\u3083\u30c0\u30e1\u3060\u3088\u3002 256 bit \u306e\u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30f3\u30d7\u3057\u3066\u307f\u308b\u3068\u3053\u3093\u306a\u611f\u3058\uff1a $ cat rsaprivat\u2026"}