{"id":131,"date":"2016-12-01T18:08:37","date_gmt":"2016-12-01T18:08:37","guid":{"rendered":"https:\/\/galaxydata.ru\/community\/?p=131"},"modified":"2025-07-23T00:27:30","modified_gmt":"2025-07-22T21:27:30","slug":"ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad","status":"publish","type":"post","link":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131","title":{"rendered":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx"},"content":{"rendered":"<p>SSL_CTX_use_PrivateKey_file(&#171;\/etc\/nginx\/ssl\/private.key&#187;) failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)<\/p>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 nginx \u0438\u043b\u0438 apache (httpd)<\/p>\n<p>\u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0432 \u043b\u043e\u0433 \u0444\u0430\u0439\u043b\u0435 \/var\/log\/nginx\/error.log<\/p>\n<pre class=\"lang:sh decode:true  \">SSL_CTX_use_PrivateKey_file(\"\/etc\/nginx\/ssl\/private.key\") failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)<\/pre>\n<p>\u041f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0432\u0430\u043c\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c nginx, \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c \u0438\u0437 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430.<\/p>\n<p>Remove the key pass phrase:<\/p>\n<pre class=\"lang:sh decode:true \">openssl rsa -in \/etc\/nginx\/ssl\/private.key -out \/etc\/nginx\/ssl\/private.key<\/pre>\n<p>\u0433\u0434\u0435:\u00a0\/etc\/nginx\/ssl\/private.key &#8212; \u043f\u0443\u0442\u044c \u0434\u043e \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430<\/p>\n<p>\u0412 \u0445\u043e\u0434\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443 \u0432\u0430\u0441 \u043f\u043e\u043f\u0440\u043e\u0441\u044f\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430:<\/p>\n<pre class=\"lang:sh decode:true\">Enter pass phrase for private.key:\nwriting RSA key<\/pre>\n<h3 class=\"sc-ewDcJz gZisjR\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/span><\/h3>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 (<\/span><span class=\"sc-jmnVvD NqXpB\"><code class=\"sc-gsnTZi jTarHK\">private.key<\/code><\/span><span class=\"sc-jmnVvD NqXpB\">) \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 nginx. \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/span><\/p>\n<div class=\"sc-ciZhAO jolbHQ\"><button class=\"sc-gXmSlM QKjNf\" type=\"button\"><\/button><\/p>\n<pre class=\"sc-jdAMXn eHLbLh line-numbers language-python\" tabindex=\"0\"><code class=\"sc-cCsOjp piYDj language-python\">SSL_CTX_use_PrivateKey_file<span class=\"token punctuation\">(<\/span><span class=\"token string\">\"\/etc\/nginx\/ssl\/private.key\"<\/span><span class=\"token punctuation\">)<\/span> failed <span class=\"token punctuation\">(<\/span>SSL<span class=\"token punctuation\">:<\/span> error<span class=\"token punctuation\">:<\/span>0906406D<span class=\"token punctuation\">:<\/span>PEM routines<span class=\"token punctuation\">:<\/span>PEM_def_callback<span class=\"token punctuation\">:<\/span>problems getting password error<span class=\"token punctuation\">:<\/span>0907B068<span class=\"token punctuation\">:<\/span>PEM routines<span class=\"token punctuation\">:<\/span>PEM_READ_BIO_PRIVATEKEY<span class=\"token punctuation\">:<\/span>bad password read error<span class=\"token punctuation\">:<\/span>140B0009<span class=\"token punctuation\">:<\/span>SSL routines<span class=\"token punctuation\">:<\/span>SSL_CTX_use_PrivateKey_file<span class=\"token punctuation\">:<\/span>PEM lib<span class=\"token punctuation\">)<\/span><\/code><\/pre>\n<\/div>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0430\u0440\u043e\u043b\u044c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u043d\u0435\u0432\u0435\u0440\u0435\u043d \u0438\u043b\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.<\/span><\/p>\n<hr class=\"sc-egNfGp euIMAl\" \/>\n<h3 class=\"sc-ewDcJz gZisjR\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u0438\u0447\u0438\u043d\u044b \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438<\/span><\/h3>\n<ol class=\"sc-gGnURB hHUjZB\" start=\"1\">\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\"><strong class=\"sc-kItwNn fOozfh\">\u041d\u0435\u0432\u0435\u0440\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c<\/strong>: \u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0437\u0430\u0449\u0438\u0449\u0451\u043d \u043f\u0430\u0440\u043e\u043b\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d.<\/span><\/li>\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\"><strong class=\"sc-kItwNn fOozfh\">\u0424\u0430\u0439\u043b \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d<\/strong>: \u0424\u0430\u0439\u043b <code class=\"sc-gsnTZi jTarHK\">private.key<\/code> \u043c\u043e\u0433 \u0431\u044b\u0442\u044c \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0451\u043d \u0438\u043b\u0438 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0451\u043d.<\/span><\/li>\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\"><strong class=\"sc-kItwNn fOozfh\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430<\/strong>: \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0444\u0430\u0439\u043b\u0443 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b, \u0438 nginx \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0444\u0430\u0439\u043b.<\/span><\/li>\n<\/ol>\n<hr class=\"sc-egNfGp euIMAl\" \/>\n<h3 class=\"sc-ewDcJz gZisjR\"><span class=\"sc-jmnVvD NqXpB\">\u0420\u0435\u0448\u0435\u043d\u0438\u0435<\/span><\/h3>\n<h4 class=\"sc-ehMyHa gtEPHg\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044f<\/span><\/h4>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f, \u043e\u0442\u043a\u0440\u044b\u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447 \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 OpenSSL:<\/span><\/p>\n<div class=\"sc-ciZhAO jolbHQ\"><button class=\"sc-gXmSlM QKjNf\" type=\"button\"><\/button><\/p>\n<pre class=\"sc-jdAMXn eHLbLh line-numbers language-python\" tabindex=\"0\"><code class=\"sc-cCsOjp piYDj language-python\">openssl rsa <span class=\"token operator\">-<\/span><span class=\"token keyword\">in<\/span> <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>nginx<span class=\"token operator\">\/<\/span>ssl<span class=\"token operator\">\/<\/span>private<span class=\"token punctuation\">.<\/span>key <span class=\"token operator\">-<\/span>check<\/code><\/pre>\n<\/div>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442 \u043f\u0430\u0440\u043e\u043b\u044c. \u0415\u0441\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u0432\u0435\u0440\u043d\u044b\u0439, \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043b\u044e\u0447\u0435.<\/span><\/p>\n<h4 class=\"sc-ehMyHa gtEPHg\"><span class=\"sc-jmnVvD NqXpB\">\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447<\/span><\/h4>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u0432\u0435\u0440\u0435\u043d \u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0443.<\/span><\/p>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u043c\u043e\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/span><\/p>\n<div class=\"sc-ciZhAO jolbHQ\"><button class=\"sc-gXmSlM QKjNf\" type=\"button\"><\/button><\/p>\n<pre class=\"sc-jdAMXn eHLbLh line-numbers language-python\" tabindex=\"0\"><code class=\"sc-cCsOjp piYDj language-python\">openssl x509 <span class=\"token operator\">-<\/span>noout <span class=\"token operator\">-<\/span>modulus <span class=\"token operator\">-<\/span><span class=\"token keyword\">in<\/span> <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>nginx<span class=\"token operator\">\/<\/span>ssl<span class=\"token operator\">\/<\/span>cert<span class=\"token punctuation\">.<\/span>pem <span class=\"token operator\">|<\/span> openssl md5\nopenssl rsa <span class=\"token operator\">-<\/span>noout <span class=\"token operator\">-<\/span>modulus <span class=\"token operator\">-<\/span><span class=\"token keyword\">in<\/span> <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>nginx<span class=\"token operator\">\/<\/span>ssl<span class=\"token operator\">\/<\/span>private<span class=\"token punctuation\">.<\/span>key <span class=\"token operator\">|<\/span> openssl md5<\/code><\/pre>\n<\/div>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u0425\u044d\u0448\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0441\u0442\u044c.<\/span><\/p>\n<h4 class=\"sc-ehMyHa gtEPHg\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430<\/span><\/h4>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u043a\u043b\u044e\u0447\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 root \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f:<\/span><\/p>\n<div class=\"sc-ciZhAO jolbHQ\"><button class=\"sc-gXmSlM QKjNf\" type=\"button\"><\/button><\/p>\n<pre class=\"sc-jdAMXn eHLbLh line-numbers language-python\" tabindex=\"0\"><code class=\"sc-cCsOjp piYDj language-python\">chown root<span class=\"token punctuation\">:<\/span>root <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>nginx<span class=\"token operator\">\/<\/span>ssl<span class=\"token operator\">\/<\/span><span class=\"token operator\">*<\/span>\nchmod <span class=\"token number\">600<\/span> <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>nginx<span class=\"token operator\">\/<\/span>ssl<span class=\"token operator\">\/<\/span><span class=\"token operator\">*<\/span><\/code><\/pre>\n<\/div>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u042d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044e\u0442, \u0447\u0442\u043e \u043a\u043b\u044e\u0447\u0438 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/span><\/p>\n<hr class=\"sc-egNfGp euIMAl\" \/>\n<h3 class=\"sc-ewDcJz gZisjR\"><span class=\"sc-jmnVvD NqXpB\">\u0418\u0442\u043e\u0433\u0438<\/span><\/h3>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:<\/span><\/p>\n<ul class=\"sc-IIEeM jNRInD\">\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0430\u0440\u043e\u043b\u044c, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0434\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c.<\/span><\/li>\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u043a\u043b\u044e\u0447\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0432\u0435\u0440\u043d\u043e.<\/span><\/li>\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\">\u041a\u043b\u044e\u0447\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443 (\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u043a\u043b\u044e\u0447).<\/span><\/li>\n<li class=\"sc-iuStju cGEIEf\"><span class=\"sc-jmnVvD NqXpB\">\u041f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/span><\/li>\n<\/ul>\n<p class=\"sc-gYMRRK cNbjxM\"><span class=\"sc-jmnVvD NqXpB\">\u0418\u0441\u043f\u0440\u0430\u0432\u0438\u0432 \u043e\u0434\u043d\u0443 \u0438\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 nginx.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSL_CTX_use_PrivateKey_file(&#171;\/etc\/nginx\/ssl\/private.key&#187;) failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0907B068:PEM routines:PEM_READ_BIO_PRIVATEKEY:bad password read error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib) \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 nginx \u0438\u043b\u0438 apache (httpd) \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 \u0432 \u043b\u043e\u0433 \u0444\u0430\u0439\u043b\u0435 \/var\/log\/nginx\/error.log SSL_CTX_use_PrivateKey_file(&#171;\/etc\/nginx\/ssl\/private.key&#187;) failed (SSL: error:0906406D:PEM&hellip; <\/p>\n","protected":false},"author":1,"featured_media":133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[44,45,47,43,46],"class_list":["post-131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-nginx","tag-openssl","tag-password","tag-private","tag-rsa"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx - GalaxyData Community<\/title>\n<meta name=\"description\" content=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx\" \/>\n<meta property=\"og:description\" content=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\" \/>\n<meta property=\"og:site_name\" content=\"GalaxyData Community\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/vk.com\/galaxydata\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-01T18:08:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-22T21:27:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1592\" \/>\n\t<meta property=\"og:image:height\" content=\"440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Eduard Yamaltdinov\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"Eduard Yamaltdinov\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#article\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\"},\"author\":{\"name\":\"Eduard Yamaltdinov\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\"},\"headline\":\"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx\",\"datePublished\":\"2016-12-01T18:08:37+00:00\",\"dateModified\":\"2025-07-22T21:27:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\"},\"wordCount\":319,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage\"},\"thumbnailUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png\",\"keywords\":[\"nginx\",\"openssl\",\"password\",\"private\",\"rsa\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\",\"url\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\",\"name\":\"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx - GalaxyData Community\",\"isPartOf\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage\"},\"thumbnailUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png\",\"datePublished\":\"2016-12-01T18:08:37+00:00\",\"dateModified\":\"2025-07-22T21:27:30+00:00\",\"description\":\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.\",\"breadcrumb\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png\",\"width\":1592,\"height\":440,\"caption\":\"SSL_CTX_use_PrivateKey_file\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/galaxydata.ru\/community\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#website\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"name\":\"GalaxyData Community\",\"description\":\"Tutorial for Cloud VDS\",\"publisher\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/galaxydata.ru\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#organization\",\"name\":\"GalaxyData Community\",\"url\":\"https:\/\/galaxydata.ru\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png\",\"width\":257,\"height\":44,\"caption\":\"GalaxyData Community\"},\"image\":{\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/vk.com\/galaxydata\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b\",\"name\":\"Eduard Yamaltdinov\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"contentUrl\":\"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png\",\"caption\":\"Eduard Yamaltdinov\"},\"description\":\"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.\",\"url\":\"https:\/\/galaxydata.ru\/community\/author\/galaxydata\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx - GalaxyData Community","description":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131","og_locale":"ru_RU","og_type":"article","og_title":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx","og_description":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.","og_url":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131","og_site_name":"GalaxyData Community","article_publisher":"https:\/\/vk.com\/galaxydata","article_published_time":"2016-12-01T18:08:37+00:00","article_modified_time":"2025-07-22T21:27:30+00:00","og_image":[{"width":1592,"height":440,"url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png","type":"image\/png"}],"author":"Eduard Yamaltdinov","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"Eduard Yamaltdinov","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#article","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131"},"author":{"name":"Eduard Yamaltdinov","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b"},"headline":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx","datePublished":"2016-12-01T18:08:37+00:00","dateModified":"2025-07-22T21:27:30+00:00","mainEntityOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131"},"wordCount":319,"commentCount":0,"publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage"},"thumbnailUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png","keywords":["nginx","openssl","password","private","rsa"],"articleSection":["Linux"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#respond"]}]},{"@type":"WebPage","@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131","url":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131","name":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx - GalaxyData Community","isPartOf":{"@id":"https:\/\/galaxydata.ru\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage"},"thumbnailUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png","datePublished":"2016-12-01T18:08:37+00:00","dateModified":"2025-07-22T21:27:30+00:00","description":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0447\u0442\u0435\u043d\u0438\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 SSL \u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 Nginx. \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043f\u0430\u0440\u043e\u043b\u044f, \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043f\u0443\u0442\u0435\u0439 \u0438 \u043f\u0440\u0430\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438 PEM_read_bio_PrivateKey.","breadcrumb":{"@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#primaryimage","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/12\/SSL_CTX_use_PrivateKey_file.png","width":1592,"height":440,"caption":"SSL_CTX_use_PrivateKey_file"},{"@type":"BreadcrumbList","@id":"https:\/\/galaxydata.ru\/community\/ssl_ctx_use_privatekey_fileetcnginxsslprivate-key-failed-ssl-error0906406dpem-routinespem_def_callbackproblems-getting-password-error0907b068pem-routinespem_read_bio_privatekeybad-131#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/galaxydata.ru\/community"},{"@type":"ListItem","position":2,"name":"\u041a\u0430\u043a \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u00abBad Password Read\u00bb \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 \u0432 Nginx"}]},{"@type":"WebSite","@id":"https:\/\/galaxydata.ru\/community\/#website","url":"https:\/\/galaxydata.ru\/community\/","name":"GalaxyData Community","description":"Tutorial for Cloud VDS","publisher":{"@id":"https:\/\/galaxydata.ru\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/galaxydata.ru\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/galaxydata.ru\/community\/#organization","name":"GalaxyData Community","url":"https:\/\/galaxydata.ru\/community\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2026\/04\/cropped-galaxydata-site-v3.2.png","width":257,"height":44,"caption":"GalaxyData Community"},"image":{"@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/vk.com\/galaxydata"]},{"@type":"Person","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/674f493b626af18d90fe784aa69dfd7b","name":"Eduard Yamaltdinov","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/galaxydata.ru\/community\/#\/schema\/person\/image\/","url":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","contentUrl":"https:\/\/galaxydata.ru\/community\/wp-content\/uploads\/2016\/10\/cloud-server-150x150.png","caption":"Eduard Yamaltdinov"},"description":"Eduard Yamaltdinov \u2014 \u0430\u0432\u0442\u043e\u0440 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0442 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u043e\u043f\u044b\u0442\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c.","url":"https:\/\/galaxydata.ru\/community\/author\/galaxydata"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":1,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/posts\/131\/revisions\/2039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media\/133"}],"wp:attachment":[{"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galaxydata.ru\/community\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}