{"id":3774,"date":"2024-04-01T22:10:32","date_gmt":"2024-04-01T13:10:32","guid":{"rendered":"https:\/\/ji0vwl.net\/?p=3774"},"modified":"2024-04-02T18:52:35","modified_gmt":"2024-04-02T09:52:35","slug":"amazon-linux-2023-%e3%81%a7-openssl%e3%82%92%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e3%82%a2%e3%83%83%e3%83%97","status":"publish","type":"post","link":"https:\/\/ji0vwl.net\/index.php\/2024\/04\/01\/3774\/","title":{"rendered":"Amazon Linux 2023 \u3067 OpenSSL\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7"},"content":{"rendered":"<p>Amazon Linux 2023 \u3067 \u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001OpenSSL 3.0.8 \u3068\u3084\u3084\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eOpenSSL\u304c\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u30673.0\u7cfb\u306e\u6700\u65b0\u7248\u30013.0.13\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u306e\u3067\u3001\u500b\u4eba\u7684\u306a\u899a\u66f8\u3092\u6b8b\u3057\u307e\u3059\u3002\u3082\u3057.\/Configure\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3088\u3046\u3067\u3057\u305f\u3089dnf\u3067\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u30023.1\u30843.2\u7cfb\u3082\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u306e\u4e00\u756a\u9577\u30443.0\u7cfb\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\u6b21\u306e3.3\u7cfb\u306fQUIC\u306b\u5bfe\u5fdc\u3059\u308b\u3088\u3046\u306a\u306e\u3067\u3061\u3087\u3063\u3068\u8208\u5473\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre># cd \/usr\/src\r\n# wget https:\/\/www.openssl.org\/source\/openssl-3.0.13.tar.gz\r\n# tar zxvf openssl-3.0.13.tar.gz\r\n# cd openssl-3.0.13\/\r\n# dnf -y install \\\r\n\u00a0\u00a0 perl-FindBin \\\r\n\u00a0\u00a0 perl-Module-Load-Conditional \\\r\n\u00a0\u00a0 perl-Test-Harness \\\r\n\u00a0\u00a0 perl-CPAN\r\n# .\/Configure '-Wl,-rpath,$(LIBRPATH)'\r\n# make\r\n# make install\r\n# which openssl\r\n# openssl version\r\n<\/pre>\n<p>\u3064\u304e\u306bApache\uff08httpd\uff09\u306b\u53cd\u6620\u3059\u308b\u305f\u3081\u306b\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bhttpd\u3068\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u306ehttpd 2.4.58\u3092\u30bd\u30fc\u30b9\u30d3\u30eb\u30c9\u3057\u3001mod_ssl \u3092\/etc\/httpd\/modules \u306b\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre># httpd -v\r\n# cd \/usr\/src\r\n# wget https:\/\/dlcdn.apache.org\/httpd\/httpd-2.4.58.tar.gz\r\n# tar zxvf httpd-2.4.58.tar.gz\r\n# cd httpd-2.4.58\/\r\n# .\/configure --with-ssl=\/usr\/local\/bin\/openssl\r\n# make\r\n# chown -R root:root .\/*\r\n# mv \/etc\/httpd\/modules\/mod_ssl.so \/etc\/httpd\/modules\/mod_ssl.so_org\r\n# cp -a modules\/ssl\/.libs\/mod_ssl.so \/etc\/httpd\/modules\/\r\n# strings \/etc\/httpd\/modules\/mod_ssl.so | grep \"OpenSSL 3\"\r\n# systemctl restart httpd\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Amazon Linux 2023 \u3067 \u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001OpenSSL 3.0.8 \u3068\u3084\u3084\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eOpenSSL\u304c\u5165\u308a\u307e\u3059\u3002 \u305d\u3053\u30673.0\u7cfb\u306e\u6700\u65b0\u7248\u30013.0.13\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f\u306e\u3067\u3001\u500b\u4eba\u7684\u306a\u899a\u66f8 &hellip; <a href=\"https:\/\/ji0vwl.net\/index.php\/2024\/04\/01\/3774\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Amazon Linux 2023 \u3067 OpenSSL\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3774","post","type-post","status-publish","format-standard","hentry","category-server"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts\/3774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/comments?post=3774"}],"version-history":[{"count":0,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/posts\/3774\/revisions"}],"wp:attachment":[{"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/media?parent=3774"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/categories?post=3774"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ji0vwl.net\/index.php\/wp-json\/wp\/v2\/tags?post=3774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}