{"id":6696,"date":"2026-05-12T09:00:00","date_gmt":"2026-05-12T06:00:00","guid":{"rendered":"https:\/\/skeletor.org.ua\/?p=6696"},"modified":"2026-03-13T17:54:58","modified_gmt":"2026-03-13T15:54:58","slug":"nginx-%d0%b7%d0%bc%d1%83%d1%88%d1%83%d1%94%d0%bc%d0%be-%d0%bf%d1%80%d0%b0%d1%86%d1%8e%d0%b2%d0%b0%d1%82%d0%b8-openssl-3-%d0%b7-%d0%ba%d0%bb%d1%8e%d1%87%d0%b0%d0%bc%d0%b8-1024-%d0%b1%d1%96%d1%82","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=6696","title":{"rendered":"[Nginx] \u0417\u043c\u0443\u0448\u0443\u0454\u043c\u043e \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 openssl-3 \u0437 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 1024 \u0431\u0456\u0442"},"content":{"rendered":"\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0454 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c: \u0454 \u0437\u0456\u0431\u0440\u0430\u043d\u0438\u0439 <strong>nginx <\/strong>\u0437 <strong>openssl-3<\/strong>, \u0430\u043b\u0435 \u0454 \u0441\u0442\u0430\u0440\u0456 \u043a\u043b\u0456\u0454\u043d\u0442\u0441\u044c\u043a\u0456 \u0441\u0435\u0440\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u0438 \u0437 \u043a\u043b\u044e\u0447\u0430\u043c <strong>1024<\/strong> \u0431\u0456\u0442\u0430 \u0456 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u0432\u043e\u043d\u043e \u043d\u0435 \u043f\u0440\u0430\u0446\u044e\u0454, \u0431\u043e \u0434\u043b\u044f <strong>openssl-3<\/strong> \u043a\u043b\u044e\u0447 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0431\u0443\u0442\u0438 \u043c\u0456\u043d\u0456\u043c\u0443\u043c <strong>2048<\/strong> \u0431\u0456\u0442 \u0456 \u043c\u0430\u0454\u043c\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\"FAILED:CA certificate key too weak\"<\/code><\/pre>\n\n\n\n<p>\u0420\u0456\u0448\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0441\u0442\u0435 &#8211; <strong>CipherString = DEFAULT@SECLEVEL=0<\/strong>, \u0430\u043b\u0435 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u044c\u0441\u044f \u043b\u0430\u043c\u0430\u0442\u0438 \u0432\u0441\u0435 \u0456\u043d\u0448\u0435 \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0445\u043e\u0441\u0442\u0456, \u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0446\u0435 \u0432 <strong>\/etc\/ssl\/openssl.cnf<\/strong> \u043d\u0435 \u043c\u043e\u0436\u043d\u0430.<\/p>\n\n\n\n<p>\u0412\u0438\u044f\u0432\u043b\u044f\u0454\u0442\u044c\u0441\u044f, \u043c\u043e\u0436\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 <strong>ENV<\/strong> \u0432 <strong>nginx<\/strong> \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438  <strong>OPENSSL_CONF<\/strong>, \u0434\u0435 \u0432\u043a\u0430\u0437\u0430\u0442\u0438 \u0448\u043b\u044f\u0445 \u0434\u043e \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 <strong>openssl.cnf<\/strong>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u0421\u0442\u0432\u043e\u0440\u044e\u0454\u043c\u043e <strong>\/etc\/nginx\/ssl\/admin\/openssl.cnf<\/strong> \u0442\u0430\u043a\u043e\u0433\u043e \u0437\u043c\u0456\u0441\u0442\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;openssl_init]\nproviders = provider_sect\nalg_section = evp_properties\nssl_conf = ssl_configuration\n\n...\n\n&#91;ssl_configuration]\nsystem_default = tls_system_default\n\n&#91;tls_system_default]\nMinProtocol = TLSv2\nCipherString = DEFAULT@SECLEVEL=0<\/code><\/pre>\n\n\n\n<p>\u0414\u043e\u0434\u0430\u0454\u043c\u043e <strong>ENV <\/strong>\u0434\u043e \u0441\u0435\u0440\u0432\u0456\u0441\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># svccfg -s nginx setenv OPENSSL_CONF \/etc\/nginx\/ssl\/admin\/openssl.cnf\n# svcadm refresh nginx\n# svcadm restart nginx<\/code><\/pre>\n\n\n\n<p>\u0406 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u044f\u0454\u043c\u043e \u0447\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0439\u043e\u0433\u043e <strong>nginx<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \/usr\/dtrace\/DTT\/opensnoop | grep openssl.cnf\n     0 539319 nginx          4 \/etc\/nginx\/ssl\/admin\/openssl.cnf<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0454 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c: \u0454 \u0437\u0456\u0431\u0440\u0430\u043d\u0438\u0439 nginx \u0437 openssl-3, \u0430\u043b\u0435 \u0454 \u0441\u0442\u0430\u0440\u0456 \u043a\u043b\u0456\u0454\u043d\u0442\u0441\u044c\u043a\u0456 \u0441\u0435\u0440\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u0438 \u0437 \u043a\u043b\u044e\u0447\u0430\u043c 1024 \u0431\u0456\u0442\u0430 \u0456 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e, \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u0432\u043e\u043d\u043e \u043d\u0435 \u043f\u0440\u0430\u0446\u044e\u0454, \u0431\u043e \u0434\u043b\u044f openssl-3 \u043a\u043b\u044e\u0447 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u0431\u0443\u0442\u0438 \u043c\u0456\u043d\u0456\u043c\u0443\u043c 2048 \u0431\u0456\u0442 \u0456 \u043c\u0430\u0454\u043c\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443: \u0420\u0456\u0448\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0441\u0442\u0435 &#8211; CipherString = DEFAULT@SECLEVEL=0, \u0430\u043b\u0435 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u044c\u0441\u044f \u043b\u0430\u043c\u0430\u0442\u0438 \u0432\u0441\u0435 \u0456\u043d\u0448\u0435 \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0445\u043e\u0441\u0442\u0456, \u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0430\u043a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,24,15],"tags":[],"class_list":["post-6696","post","type-post","status-publish","format-standard","hentry","category-others","category-solaris","category-www"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6696"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6696\/revisions"}],"predecessor-version":[{"id":6697,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/6696\/revisions\/6697"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}