{"id":44827,"date":"2021-01-06T23:58:04","date_gmt":"2021-01-06T23:58:04","guid":{"rendered":"http:\/\/antonini.ddns.net\/blogmed\/?p=44827"},"modified":"2021-03-31T20:28:36","modified_gmt":"2021-03-31T20:28:36","slug":"criar-um-certificado-ssl-para-o-apache","status":"publish","type":"post","link":"https:\/\/antonini.ddns.net\/?p=44827","title":{"rendered":"Criar um certificado SSL para o apache"},"content":{"rendered":"\n<p>Criar certificado ssl:<\/p>\n\n\n\n<p>cd \/etc\/apache2<\/p>\n\n\n\n<p>mkdir ssl<\/p>\n\n\n\n<p>openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout \/etc\/apache2\/ssl\/apache.key -out \/etc\/apache2\/ssl\/apache.crt<\/p>\n\n\n\n<p>BR<br \/>PARANA<br \/>CURITIBA<br \/>ANTONINI<br \/>SERVIDOR<br \/>ns1.antonini.psc.br<br \/>antonini.antonini.ddns.net<br \/>antonini@antonini.psc.br<\/p>\n\n\n\n<p>a2enmod ssl<\/p>\n\n\n\n<p>ServerAdmin antonini@antonini.psc.br ServerName antonini.psc.br ServerAlias www.antonini.psc.br DocumentRoot \/var\/www\/html\/blogmed\/ SSLEngine on SSLCertificateFile \/etc\/apache2\/ssl\/apache.crt SSLCertificateKeyFile \/etc\/apache2\/ssl\/apache.key ErrorLog ${APACHE_LOG_DIR}\/error.log CustomLog ${APACHE_LOG_DIR}\/access.log combined<\/p>\n\n\n\n<p>Debian 9<br \/>https:\/\/gist.github.com\/jniltinho\/ff9bef16fbf8dc8ced3b34313d58e1ab<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Criar certificado ssl: cd \/etc\/apache2 mkdir ssl openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout \/etc\/apache2\/ssl\/apache.key -out \/etc\/apache2\/ssl\/apache.crt BRPARANACURITIBAANTONINISERVIDORns1.antonini.psc.brantonini.antonini.ddns.netantonini@antonini.psc.br a2enmod ssl ServerAdmin antonini@antonini.psc.br ServerName antonini.psc.br ServerAlias www.antonini.psc.br DocumentRoot \/var\/www\/html\/blogmed\/ SSLEngine on SSLCertificateFile \/etc\/apache2\/ssl\/apache.crt SSLCertificateKeyFile \/etc\/apache2\/ssl\/apache.key ErrorLog ${APACHE_LOG_DIR}\/error.log CustomLog ${APACHE_LOG_DIR}\/access.log combined Debian 9https:\/\/gist.github.com\/jniltinho\/ff9bef16fbf8dc8ced3b34313d58e1ab<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[],"class_list":["post-44827","post","type-post","status-publish","format-standard","hentry","category-1a"],"_links":{"self":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/44827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44827"}],"version-history":[{"count":1,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/44827\/revisions"}],"predecessor-version":[{"id":44828,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/44827\/revisions\/44828"}],"wp:attachment":[{"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/antonini.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}