{"id":306703,"date":"2020-07-09T15:01:19","date_gmt":"2020-07-09T15:01:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=306703"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-07-09T15:01:19","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=306703","title":{"rendered":"\u041a\u0430\u043a \u0432\u043b\u044e\u0447\u0438\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 JetBrains Projector"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/510282\/\">\n<p>Projector \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c IntelliJ IDEA \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f <a href=\"https:\/\/habr.com\/ru\/post\/510210\/\">\u043f\u0438\u0441\u0430\u043b \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u043d\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043b \u043e \u0432\u0430\u0436\u043d\u043e\u0439 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u043a\u0430 \u0432\u0435\u0449\u0438 \u2014 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u2014 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u0443\u0442\u043e\u0440\u043d\u044b\u0439 \u043a\u0443\u0441\u043e\u043a \u0440\u0430\u0431\u043e\u0442\u044b. \u0422\u0443\u0442 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438 Docker \u0438 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0432 Java. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0443\u0431\u0435\u0436\u0430\u0442\u044c \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e Java, \u0438 \u0440\u0435\u0431\u044f\u0442\u0430 \u0438\u0437 JetBrains \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0432\u0438\u043d\u043e\u0432\u0430\u0442\u044b.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 \u0431\u044b\u043b \u0437\u0430\u043a\u0440\u044b\u0442 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u044f \u043f\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u043b, \u0447\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0435\u043d\u0443 \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u0440\u043e\u0434\u0438\u043b \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442. \u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0438\u043d\u0438\u0442\u0435. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044f \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0432\u044b \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u043d\u043d\u043e\u0435 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"generaciya-klyuchey\">\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439<\/h2>\n<p>  <\/p>\n<p>\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u043a\u043b\u044e\u0447\u0435\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e <a href=\"https:\/\/jdk.dev\" rel=\"nofollow\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c OpenJDK<\/a> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 keytool.<\/p>\n<p>  <\/p>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u043a\u043b\u044e\u0447\u0435\u0439 \u2014 \u0437\u0430\u0434\u0430\u0447\u0430, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u0438\u0437 \u043a\u0443\u0447\u0438 \u0448\u0430\u0433\u043e\u0432. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f <a href=\"https:\/\/github.com\/projectile-ide\/projectile-keymaker\/blob\/master\/projectile-keymaker\" rel=\"nofollow\">\u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442<\/a>, \u0438 \u043f\u0440\u0438\u0437\u044b\u0432\u0430\u044e \u0432\u0430\u0441 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u043c. <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">mkdir ~\/keystore cd ~\/keystore  curl https:\/\/raw.githubusercontent.com\/projectile-ide\/projectile-keymaker\/master\/projectile-keymaker --output .\/keymaker  chmod 755 .\/keymaker .\/projectile-keymaker projector idea true IP 192.168.1.1 mypassword<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u0413\u043b\u0430\u0432\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0434\u0432\u0430 \u0432\u0430\u0436\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430: <code>ca.crt<\/code> \u0438 <code>server.jks<\/code>.<\/p>\n<p>  <\/p>\n<ul>\n<li><code>ca.crt<\/code> \u2014 \u044d\u0442\u043e \u043d\u0430\u0448 Certificate Authority, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438. \u041d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0435\u043c\u0443. <\/li>\n<li><code>server.jks<\/code> \u2014 \u044d\u0442\u043e \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0439 IDEA.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"voshod-solnca-vruchnuyu\">\u0412\u043e\u0441\u0445\u043e\u0434 \u0421\u043e\u043b\u043d\u0446\u0430 \u0432\u0440\u0443\u0447\u043d\u0443\u044e<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u043a \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0432\u0435\u0440\u0438\u0442 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0447\u0443\u0436\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0438 \u0432\u0441\u0451 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0431\u0435\u0436\u0438\u043c\u0441\u044f \u043f\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0448\u0430\u0433\u0430\u043c.<\/p>\n<p>  <\/p>\n<p>\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 Certificate Authority (CA), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u043e\u0434\u043f\u0438\u0445\u043d\u0451\u043c \u0432\u043e \u0432\u0441\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -genkeypair -v \\   -alias ca \\   -dname &quot;CN=myCA, OU=Development, O=myCA, L=SPB, S=SPB, C=RU&quot; \\   -keystore ca.jks \\   -keypass:env PW \\   -storepass:env PW \\   -keyalg RSA \\   -keysize 4096 \\   -ext KeyUsage:critical=&quot;keyCertSign&quot; \\   -ext BasicConstraints:critical=&quot;ca:true&quot; \\   -validity 9999<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"nebolshoe-otstuplenie-pro-paroli\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e \u043f\u0430\u0440\u043e\u043b\u0438<\/h3>\n<p>  <\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u043e\u0442 \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443: <code>-keypass:env PW<\/code>. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u0430\u0440\u043e\u043b\u044c \u043c\u044b \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043d\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 (\u0438\u043d\u0430\u0447\u0435 \u043e\u043d \u0437\u0430\u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 bash history), \u0430 \u0431\u0435\u0440\u0435\u043c \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f. <\/p>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <code>export PW=mypassword<\/code> \u0438 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u043e\u043d \u0442\u043e\u0436\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 bash history. \u041a\u0443\u0434\u0430 \u043b\u043e\u0433\u0438\u0447\u043d\u0435\u0439 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0444\u0430\u0439\u043b.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0444\u0430\u0439\u043b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">export PW=`pwgen -Bs 10 1` echo $PW &gt; password<\/code><\/pre>\n<p>  <\/p>\n<p>\u0410 \u0432\u043e\u0442 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0441\u043e\u0441\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430\u0437\u0430\u0434 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">export PW=`cat password`<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0440\u0430\u0441\u0438\u0432\u043e, \u043f\u0440\u0430\u0432\u0434\u0430? \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0442\u0430\u043a\u043e\u0439 \u0444\u0430\u0439\u043b \u0432\u0441\u0451 \u0435\u0449\u0451 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0440\u0430\u0441\u0442\u044c \u0441 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043d\u043e \u044d\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f. \u041d\u0430 \u043f\u0440\u043e\u0442\u044f\u0436\u0435\u043d\u0438\u0438 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u044f \u0432\u044b\u043f\u044c\u044e \u0441\u0432\u043e\u0438 \u0442\u0430\u0431\u043b\u0435\u0442\u043e\u0447\u043a\u0438 \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u2014 \u044d\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e. \u0422\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043d\u0435 \u0444\u0430\u0439\u043b, \u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f <code>PW<\/code>.<\/p>\n<p>  <\/p>\n<h3 id=\"vozvraschaemsya-nazad-k-generacii-klyuchey\">\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043d\u0430\u0437\u0430\u0434 \u043a \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043a\u043b\u044e\u0447\u0435\u0439&#8230;<\/h3>\n<p>  <\/p>\n<p>CA \u043c\u044b \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u043b\u0438, \u043d\u043e \u0432 \u043a\u0430\u043a\u043e\u043c-\u0442\u043e \u0431\u043e\u0433\u043e\u043c\u0435\u0440\u0437\u043a\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JKS, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u0435 \u043f\u043e\u0439\u043c\u0443\u0442. \u0427\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0443, \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u043d\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 crt:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -export -v \\   -alias ca \\   -file ca.crt \\   -keypass:env PW \\   -storepass:env PW \\   -keystore ca.jks \\   -rfc<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0440\u0430 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (\u0442\u043e\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0418\u0434\u0435\u044e):<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -genkeypair -v \\   -alias server \\   -dname &quot;CN=myServer, OU=Development, O=myServer, L=SPB, S=SPB, C=RU&quot; \\   -keystore server.jks \\   -keypass:env PW \\   -storepass:env PW \\   -keyalg RSA \\   -keysize 2048 \\   -validity 385<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0435\u0441\u0442\u044c, \u043d\u043e \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0441\u0442\u0430\u043d\u0435\u0442. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u0446\u0435\u0440\u0435\u043c\u043e\u043d\u0438\u044e, \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u044c:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -certreq -v \\   -alias server \\   -keypass:env PW \\   -storepass:env PW \\   -keystore server.jks \\   -file server.csr<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u043c CA, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -gencert -v \\   -alias ca \\   -keypass:env PW \\   -storepass:env PW \\   -keystore ca.jks \\   -infile server.csr \\   -outfile server.crt \\   -ext KeyUsage:critical=&quot;digitalSignature,keyEncipherment&quot; \\   -ext EKU=&quot;serverAuth&quot; \\   -ext SAN=&quot;IP:192.168.1.1&quot; \\   -rfc<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u043c\u0435\u0442\u044c\u0442\u0435, \u0447\u0442\u043e SAN \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432 \u0434\u0432\u0443\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445: \u043b\u0438\u0431\u043e &quot;DNS:website.com&quot;, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0435 \u0438\u043c\u044f. \u041b\u0438\u0431\u043e &quot;IP:192.168.1.1&quot;, \u0435\u0441\u043b\u0438 \u0434\u043e\u043c\u0435\u043d\u0430 \u043d\u0435\u0442. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043d\u0438 IP, \u043d\u0438 \u0434\u043e\u043c\u0435\u043d\u0430, \u0442\u043e \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0431\u0438\u0442\u044c\u0441\u044f \u0432 \u0443\u0433\u043e\u043b \u0438 \u043f\u043b\u0430\u043a\u0430\u0442\u044c, \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u0432\u0435\u0440\u0438\u0442.<\/p>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435, \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443, \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0448 JKS \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c\u0443 CA (\u0438\u043d\u0430\u0447\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u0441\u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f):<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -import -v \\   -alias ca \\   -file ca.crt \\   -keystore server.jks \\   -storetype JKS \\   -storepass:env PW &lt;&lt; EOF yes EOF<\/code><\/pre>\n<p>  <\/p>\n<p>\u0411\u0435\u0440\u0435\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u043d\u0435\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u0443\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0432\u043d\u0443\u0442\u0440\u044c JKS:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -import -v \\   -alias server \\   -file server.crt \\   -keystore server.jks \\   -storetype JKS \\   -storepass:env PW<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0443 \u0438 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u0432\u043e\u0438\u0445 \u043c\u0443\u0447\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">keytool -list -v \\   -keystore server.jks \\   -storepass:env PW<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430 \u043c\u043e\u0439 \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u043c\u0443\u0447\u0435\u043d\u0438\u044f \u0441 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u044d\u0442\u0438\u0445 \u043a\u043e\u0434\u043e\u0432 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0442\u043e\u0433\u043e \u043d\u0435 \u0441\u0442\u043e\u044f\u0442. \u041b\u0443\u0447\u0448\u0435 \u0432\u043e\u0437\u044c\u043c\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/projectile-ide\/projectile-keymaker\" rel=\"nofollow\">\u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442<\/a> \u0438 \u043f\u043e\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u0435\u0433\u043e \u043a\u0430\u043a \u0432\u0430\u043c \u0443\u0434\u043e\u0431\u043d\u0435\u0439.<\/p>\n<p>  <\/p>\n<h2 id=\"propisyvaem-fayly-konfiguracii\">\u041f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u0430\u0439\u043b <code>\/home\/olegchir\/keystore\/ssl.properties<\/code> \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">STORE_TYPE=JKS FILE_PATH=\/tmp\/server.jks STORE_PASSWORD=mypassword KEY_PASSWORD=mypassword<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0430\u0440\u043e\u043b\u044c, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0436\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043a\u0435\u0439\u0441\u0442\u043e\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u043f\u0438\u0448\u0443 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u0434\u043e \u043c\u043e\u0435\u0433\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 (<code>\/home\/olegchir<\/code>) \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u043c \u043d\u0435 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u0433\u0434\u0435-\u0442\u043e \u0432\u0430\u0441 \u043e\u0431\u043c\u0430\u043d\u0443\u043b \u0438 \u043a\u0443\u0441\u043e\u043a \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b. \u041a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u0441\u044c \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0447\u0438\u0442\u0430\u0435\u0442\u0435, \u0438 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u0438 \u043f\u0443\u0442\u0438. \u041d\u0443 \u0438\u043b\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0438\u043c\u044f \u0438 \u0444\u0430\u043c\u0438\u043b\u0438\u044e \u043d\u0430 <code>olegchir<\/code>, \u0445\u043e\u0442\u044f \u043c\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435\u0443\u044e\u0442\u043d\u043e.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 <code>\/tmp\/server.jks<\/code>, \u0430 \u043d\u0435 <code>\/home\/olegchir\/keystore\/server.jks<\/code>? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435, \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443, \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u044c \u0434\u043e\u043a\u0435\u0440\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0451 \u0443\u0432\u0438\u0434\u0438\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c Projector, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0430\u0447\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u0438\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0441 \u043d\u0435\u0433\u0443\u043c\u0430\u043d\u043e\u0438\u0434\u043d\u044b\u043c\u0438 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 <code>docker run<\/code>, \u0430 \u0444\u0430\u0439\u043b\u044b \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u044c \u043e\u0431\u0440\u0430\u0437\u0430. <\/p>\n<p>  <\/p>\n<p>\u0418\u0434\u0451\u043c \u0432 \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0439 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b <code>run-container.sh<\/code> \u0438 \u0438\u0449\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">docker run --rm -p 8080:8080 -p 8887:8887 -it &quot;$containerName&quot; bash -c &quot;nginx &amp;&amp; .\/run.sh&quot;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0443\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0432\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p>  <\/p>\n<ul>\n<li><code>ORG_JETBRAINS_PROJECTOR_SERVER_SSL_PROPERTIES_PATH<\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0444\u0430\u0439\u043b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438;<\/li>\n<li><code>ORG_JETBRAINS_PROJECTOR_SERVER_HANDSHAKE_TOKEN<\/code> \u0437\u0430\u0434\u0430\u0435\u0442 \u043f\u0430\u0440\u043e\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 URL, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f;<\/li>\n<li>\u041e\u0431\u0430 \u0444\u0430\u0439\u043b\u0430 (\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u043a\u0435\u0439\u0441\u0442\u043e\u0440) \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432 <code>\/tmp<\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"plaintext\">docker run --rm \\     -v \/home\/olegchir\/keystore\/ssl.properties:\/tmp\/ssl.properties \\     -v \/home\/olegchir\/keystore\/server.jks:\/tmp\/server.jks \\     --env ORG_JETBRAINS_PROJECTOR_SERVER_SSL_PROPERTIES_PATH=\/tmp\/ssl.properties \\     --env ORG_JETBRAINS_PROJECTOR_SERVER_HANDSHAKE_TOKEN=mypassword \\     -p 8080:8080 -p 8887:8887 -it &quot;$containerName&quot; bash -c &quot;nginx &amp;&amp; .\/run.sh&quot;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c!<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">.\/run-container.sh<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0438. \u0416\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043b\u043e\u0433 \u0438 \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0442\u0438\u043f\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">[INFO] :: ProjectorServer :: WebSocket SSL is enabled: \/tmp\/ssl.properties [INFO] :: ProjectorServer :: Server started<\/code><\/pre>\n<p>  <\/p>\n<h4 id=\"ustanovka-sertifikata-v-brauzery\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b<\/h4>\n<p>  <\/p>\n<p>\u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b <code>ca.crt<\/code> \u043d\u0430 \u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043e\u0442\u043a\u0443\u0434\u0430 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442. <\/p>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f\u0445 \u0431\u0430\u0440\u0443\u0437\u0435\u0440\u0430 \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443. \u042f \u043d\u0435 \u043c\u043e\u0433\u0443 \u0432 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0432\u0441\u0435\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f\u0445, \u043d\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443 \u0441\u0430\u043c\u044b\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435. <\/p>\n<p>  <\/p>\n<p><strong>Firefox:<\/strong><\/p>\n<p>  <\/p>\n<ol>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/li>\n<li>\u0412\u043a\u043b\u0430\u0434\u043a\u0430 Privacy &amp; Security<\/li>\n<li>\u0412 \u0441\u0430\u043c\u043e\u043c \u043d\u0438\u0437\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u2014 \u043a\u043d\u043e\u043f\u043a\u0430 View Certificates<\/li>\n<li>\u0412\u043a\u043b\u0430\u0434\u043a\u0430 Authorities<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Import&#8230;<\/li>\n<li>\u0418\u0449\u0435\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 \u0444\u0430\u0439\u043b\u043e\u0432<\/li>\n<li>\u041f\u0440\u043e\u0449\u0451\u043b\u043a\u0438\u0432\u0430\u0435\u043c, \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0433\u0430\u043b\u043a\u0438.<\/li>\n<li>\u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442.<\/li>\n<\/ol>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7w\/kg\/i2\/7wkgi2atzor27cgpx-imims6qas.png\"><\/p>\n<p>  <\/p>\n<p><strong>Chrome \u0434\u043b\u044f Windows:<\/strong><\/p>\n<p>  <\/p>\n<ol>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/li>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b Privacy and security<\/li>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b Securty<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Manage certificates<\/li>\n<li>\u0412\u043a\u043b\u0430\u0434\u043a\u0430 Trusted Root Certification Authorities<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Import&#8230;<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0442\u0435\u0440, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0444\u0430\u0439\u043b, \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u043c\u0441\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0432 Trusted Root Certification Authorities.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c Chrome. \u041d\u0430 Windows \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u043e. \u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043a\u0440\u044b\u043b\u0438 Chrome, \u043e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 \u0414\u0438\u0441\u043f\u0435\u0442\u0447\u0435\u0440 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c Chrome. \u0412\u0441\u0435 \u0442\u0430\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0438\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u043e\u0439 Delete.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430 Chrome \u0432\u0441\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/li>\n<\/ol>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/4u\/g6\/-g\/4ug6-g4mzdsakgahs2vgd1sf6vs.png\"><\/p>\n<p>  <\/p>\n<p><strong>Chrome \u0434\u043b\u044f Linux:<\/strong><\/p>\n<p>  <\/p>\n<ol>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/li>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b Privacy and security<\/li>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b Securty<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Manage certificates<\/li>\n<li>\u0412\u043a\u043b\u0430\u0434\u043a\u0430 Authorities<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 Import&#8230;<\/li>\n<li>\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0444\u0430\u0439\u043b <code>ca.crt<\/code>, <\/li>\n<li>\u041f\u0440\u043e\u0449\u0451\u043b\u043a\u0438\u0432\u0430\u0435\u043c, \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0433\u0430\u043b\u043a\u0438.<\/li>\n<li>\u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442.<\/li>\n<\/ol>\n<p>  <\/p>\n<p><strong>Chrome \u0438 Fully Kiosk Browser \u0434\u043b\u044f Android:<\/strong><\/p>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u0434 Android \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u043d\u043e\u0439. \u041d\u0430 Huawei MediaPad M5 \u043c\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u043b\u043e \u0449\u0435\u043b\u043a\u043d\u0443\u0442\u044c \u043f\u0430\u043b\u044c\u0446\u0435\u043c \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0432 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 Solid Explorer \u0438 \u043e\u043d \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435. <\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043f\u0443\u0442\u044c:<\/p>\n<p>  <\/p>\n<ol>\n<li>Settings<\/li>\n<li>Security &amp; privacy<\/li>\n<li>More Settings<\/li>\n<li>Encription and credentials<\/li>\n<li>Install from storage<\/li>\n<li>\u0412\u044b\u0431\u0440\u0430\u0442\u044c <code>ca.crt<\/code><\/li>\n<li>\u0417\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u043c\u043f\u043e\u0440\u0442.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u0412\u0430\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c Android-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441\u0430\u043c \u0441\u0435\u0431\u0435 \u0445\u043e\u0437\u044f\u0438\u043d, \u0438 \u043f\u0443\u043d\u043a\u0442 &quot;Install from storage&quot; \u043c\u043e\u0436\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043b\u044e\u0431\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u041f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0432\u043e\u0437\u0438\u0442\u044c\u0441\u044f.<\/p>\n<p>  <\/p>\n<h2 id=\"podklyuchaemsya-iz-brauzera\">\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b: <a href=\"https:\/\/localhost:8080\/projector\/?wss&amp;token=mypassword\" rel=\"nofollow\">https:\/\/localhost:8080\/projector\/?wss&amp;token=mypassword<\/a><\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430: <a href=\"https:\/\/hostname:8080\/projector\/?wss&amp;host=hostname&amp;port=8887&amp;token=mypassword\" rel=\"nofollow\">https:\/\/hostname:8080\/projector\/?wss&amp;host=hostname&amp;port=8887&amp;token=mypassword<\/a><\/p>\n<p>  <\/p>\n<h2 id=\"poisk-problem\">\u041f\u043e\u0438\u0441\u043a \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0430\u0434\u0440\u0435\u0441 <code>https:\/\/hostname:8887<\/code> \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0442\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043a\u043d\u043e\u043f\u043a\u0430 \u0442\u0438\u043f\u0430 &quot;\u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u044d\u0442\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430&quot; \u0438\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u0440\u043e\u0434\u0435. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0442\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0433\u043e\u0432\u043e\u0440\u044f\u0449\u0435\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/p>\n<p>  <\/p>\n<h2 id=\"vyvody\">\u0412\u044b\u0432\u043e\u0434\u044b<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0433\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u2014 \u044d\u0442\u043e \u0434\u043e\u043b\u0433\u043e \u0438 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e. \u041d\u0443\u0436\u043d\u043e \u043d\u0430\u0431\u0438\u0440\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u043d\u0430\u0438\u0437\u0443\u0441\u0442\u044c, \u0440\u044b\u0442\u044c\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u043e\u043a\u0435\u0440\u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043d\u0430 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e. \u0415\u0441\u043b\u0438 \u0442\u044b \u043e\u0448\u0438\u0431\u0441\u044f \u0433\u0434\u0435-\u0442\u043e \u0445\u043e\u0442\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u0435, \u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<p>  <\/p>\n<p>\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0441\u0434\u0435\u043b\u0430\u043b \u2014 \u0438 \u0436\u0438\u0432\u0438 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e.<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/510282\/\"> https:\/\/habr.com\/ru\/post\/510282\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/510282\/\">\n<p>Projector \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c IntelliJ IDEA \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f <a href=\"https:\/\/habr.com\/ru\/post\/510210\/\">\u043f\u0438\u0441\u0430\u043b \u043e\u0431 \u044d\u0442\u043e\u043c \u0441\u0442\u0430\u0442\u044c\u044e<\/a>, \u043d\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043b \u043e \u0432\u0430\u0436\u043d\u043e\u0439 \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043d\u043e\u0438\u043a\u0430 \u0432\u0435\u0449\u0438 \u2014 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0438 \u043f\u043e\u0434\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0439 \u2014 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u0443\u0442\u043e\u0440\u043d\u044b\u0439 \u043a\u0443\u0441\u043e\u043a \u0440\u0430\u0431\u043e\u0442\u044b. \u0422\u0443\u0442 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044f\u043c\u0438 Docker \u0438 \u043a\u0440\u0438\u043f\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u0432 Java. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0443\u0431\u0435\u0436\u0430\u0442\u044c \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435\u043b\u044c\u0437\u044f, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e Java, \u0438 \u0440\u0435\u0431\u044f\u0442\u0430 \u0438\u0437 JetBrains \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0432\u0438\u043d\u043e\u0432\u0430\u0442\u044b.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 \u0431\u044b\u043b \u0437\u0430\u043a\u0440\u044b\u0442 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u043e\u043c, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u044f \u043f\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u043b, \u0447\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0441\u0442\u0435\u043d\u0443 \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u0440\u043e\u0434\u0438\u043b \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442. \u0417\u0430\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0438\u043d\u0438\u0442\u0435. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u044f \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e \u0432\u044b \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0443\u0432\u0438\u0434\u0435\u043d\u043d\u043e\u0435 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-306703","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=306703"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/306703\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}