{"id":15,"date":"2016-03-21T11:25:16","date_gmt":"2016-03-21T11:25:16","guid":{"rendered":"http:\/\/cld01.wijsnet.com\/blog\/?p=15"},"modified":"2022-07-01T10:17:32","modified_gmt":"2022-07-01T08:17:32","slug":"renew-selfsigned-certificaat-ssl-apache","status":"publish","type":"post","link":"https:\/\/blog.wijsnet.com\/index.php\/2016\/03\/21\/renew-selfsigned-certificaat-ssl-apache\/","title":{"rendered":"hernieuw Self-signed certificaat (SSL) apache, Linux"},"content":{"rendered":"<p>Dit is een stappenplan wat te doen, geen uitleg.<\/p>\n<p><strong>Hernieuw Self-signed certificaat<\/strong><\/p>\n<p>Ga naar de locatie waar je certificaten staan.<br \/>\nDat kan je vinden in de SSL config file \/etc\/httpd\/conf.d\/ssl.conf.<br \/>\nZoek naar de opties: SSLCertificateFile en SSLCertificateKeyFile.<br \/>\nVoor mij is dus de commando<\/p>\n<pre>cd \/etc\/httpd\/ssl<\/pre>\n<p>Check einddatum:<\/p>\n<pre>openssl x509 -in localhost.crt -noout -enddate<\/pre>\n<p>Lees huidige certificaat uit (info nodig voor signing aanvraag file):<\/p>\n<pre>openssl x509 -in localhost.crt -text -noout<\/pre>\n<p>Creeer aanvraag signing request:<\/p>\n<pre>openssl req -new -key localhost.key -out new.csr<\/pre>\n<p>Vul de info in zoals het staat in huidige certificaat.<\/p>\n<p>Creeer nieuwe certificaat voor 4 jaar:<\/p>\n<pre>openssl x509 -req -days 1460 -in localhost.csr -signkey localhost.key -out new.crt<\/pre>\n<p>Oude certificaat vervangen met de nieuwe:<\/p>\n<pre>mv localhost.crt localhost.crt.old\nmv new.crt localhost.crt<\/pre>\n<p>Check certificaat:<\/p>\n<pre>openssl verify localhost.crt<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Dit is een stappenplan wat te doen, geen uitleg. Hernieuw Self-signed certificaat Ga naar de locatie waar je certificaten staan. Dat kan je vinden in de SSL config file \/etc\/httpd\/conf.d\/ssl.conf. Zoek naar de opties: SSLCertificateFile en SSLCertificateKeyFile. Voor mij is<\/p>\n<div class=\"entry-read-more\"><a class=\"read-more-link\" href=\"https:\/\/blog.wijsnet.com\/index.php\/2016\/03\/21\/renew-selfsigned-certificaat-ssl-apache\/\">Read More<span class=\"cleanwp-sr-only\">  hernieuw Self-signed certificaat (SSL) apache, Linux<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7,6,8,5],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-linux","tag-apache","tag-certificaat","tag-linux","tag-ssl","wpcat-3-id"],"_links":{"self":[{"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":8,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wijsnet.com\/index.php\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}