{"id":456,"date":"2018-01-31T01:58:06","date_gmt":"2018-01-31T01:58:06","guid":{"rendered":"http:\/\/www.asianux.org.vn\/?p=456"},"modified":"2018-02-02T04:26:41","modified_gmt":"2018-02-02T04:26:41","slug":"huong-dan-trien-khai-ssl-globalsign-tren-apache-centos","status":"publish","type":"post","link":"https:\/\/www.asianux.org.vn\/index.php\/2018\/01\/31\/huong-dan-trien-khai-ssl-globalsign-tren-apache-centos\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn tri\u1ec3n khai SSL GlobalSign tr\u00ean Apache &#8211; CentOS"},"content":{"rendered":"<p>B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t c\u00e1c g\u00f3i c\u1ea7n thi\u1ebft:<\/p>\n<p><code class=\"bash plain\">yum <\/code><code class=\"bash functions\">install<\/code> <code class=\"bash plain\">mod_ssl<\/code><\/p>\n<p>B\u01b0\u1edbc 2: B\u1ea1n sinh ra 2 file csr v\u00e0 key<\/p>\n<p>openssl req -new -newkey rsa:2048 -nodes -out asianux.csr -keyout asianux.key -subj &#8220;\/C=VN\/ST=Hanoi\/L=Hanoi\/O=Asianux\/OU=IT\/CN=asianux.org.vn&#8221;<\/p>\n<p>B\u01b0\u1edbc 3: B\u1ea1n g\u1eedi file csr cho h\u1ed7 tr\u1ee3 ph\u00eda\u00a0GlobalSign, b\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c c\u00e1c file ch\u1ee9ng ch\u1ec9.<\/p>\n<p>B\u01b0\u1edbc 4: Thi\u1ebft l\u1eadp Apache v\u1edbi c\u00e1c ch\u1ee9ng ch\u1ec9 \u0111\u00e3 c\u00f3, v\u00ed d\u1ee5 file c\u1ea5u h\u00ecnh nh\u01b0 sau:<\/p>\n<p>&lt;VirtualHost *:443&gt;<br \/>\nDocumentRoot \/var\/www\/html\/asianux\/html<br \/>\nServerName asianux.org.vn<br \/>\nSSLEngine on<br \/>\nSSLCertificateFile \/etc\/httpd\/ssl\/asianux.cer<br \/>\nSSLCertificateKeyFile \/etc\/httpd\/ssl\/asianux.key<br \/>\nSSLCACertificateFile \/etc\/httpd\/ssl\/AV_intermediate.cer<br \/>\n&lt;\/VirtualHost&gt;<\/p>\n<p>Ch\u00fac b\u1ea1n th\u00e0nh c\u00f4ng.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>B\u01b0\u1edbc 1: C\u00e0i \u0111\u1eb7t c\u00e1c g\u00f3i c\u1ea7n thi\u1ebft: yum install mod_ssl B\u01b0\u1edbc 2: B\u1ea1n sinh ra 2 file csr v\u00e0 key openssl req -new -newkey rsa:2048 -nodes -out asianux.csr -keyout asianux.key -subj &#8220;\/C=VN\/ST=Hanoi\/L=Hanoi\/O=Asianux\/OU=IT\/CN=asianux.org.vn&#8221; B\u01b0\u1edbc 3:&hellip;<\/p>\n","protected":false},"author":1,"featured_media":461,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-he-thong"],"_links":{"self":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/comments?post=456"}],"version-history":[{"count":1,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/posts\/456\/revisions\/458"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/media\/461"}],"wp:attachment":[{"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/media?parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/categories?post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asianux.org.vn\/index.php\/wp-json\/wp\/v2\/tags?post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}