{"id":25792,"date":"2021-11-08T23:05:54","date_gmt":"2021-11-08T16:05:54","guid":{"rendered":"https:\/\/doc.bnix.vn\/?p=25792"},"modified":"2022-08-14T06:52:14","modified_gmt":"2022-08-13T23:52:14","slug":"huong-dan-tich-hop-zero-ssl-vao-directadmin","status":"publish","type":"post","link":"https:\/\/doc.bnix.vn\/huong-dan-tich-hop-zero-ssl-vao-directadmin\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn t\u00edch h\u1ee3p Zero SSL v\u00e0o Directadmin – H\u1ed7 tr\u1ee3 h\u1ec7 \u0111i\u1ec1u h\u00e0nh c\u0169"},"content":{"rendered":"\n\n
H\u00f4m nay s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n t\u00edch h\u1ee3p Zero SSL v\u00e0o Directadmin m\u1ed9t c\u00e1ch d\u1ec5 d\u00e0ng. Nh\u01b0ng m\u1ed9t c\u00e2u h\u1ecfi \u0111\u1eb7t ra l\u00e0 t\u1ea1i sao ph\u1ea3i t\u00edch h\u1ee3p zero ssl v\u00e0o trong khi ta \u0111\u00e3 c\u00f3 Let’s encrypt?<\/p>\n
\u0110\u00fang l\u00e0 Let’s encrypt l\u00e0 ch\u1ee9ng ch\u1ec9 SSL mi\u1ec5n ph\u00ed \u0111\u00e3 \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p s\u1eb5n tr\u00ean Directadmin. Tuy nhi\u00ean, t\u1eeb 30\/09\/2021, ch\u1ee9ng ch\u1ec9 n\u00e0y \u0111\u00e3 kh\u00f4ng c\u00f2n h\u1ed7 tr\u1ee3 nh\u1eefng thi\u1ebft b\u1ecb ch\u1ea1y h\u1ec7 \u0111i\u1ec1u h\u00e0nh c\u0169 nh\u01b0 windows 7, windows 8,… trong khi windows 7 v\u1eabn c\u00f2n \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng r\u1ea5t nhi\u1ec1u \u1edf VN.<\/p>\n
\u0110\u1ec3 gi\u1ea3i quy\u1ebft v\u1ea5n \u0111\u1ec1 n\u00e0y, ngo\u00e0i vi\u1ec7c mua SSL tr\u1ea3 ph\u00ed, ch\u00fang ta c\u00f2n l\u1ef1a ch\u1ecdn kh\u00e1c l\u00e0 zero ssl. H\u00f4m nay ch\u1ec9 c\u1ea7n v\u00e0i l\u1ec7nh, ch\u00fang ta s\u1ebd t\u00edch h\u1ee3p n\u00f3 v\u00e0o thay th\u1ebf cho Let’s encrypt hi\u1ec7n c\u00f3 tr\u00ean Directadmin. (\u0110\u00e3 t\u00edch h\u1ee3p tr\u00ean hosting c\u1ee7a S\u00e0i G\u00f2n Data)<\/strong><\/em><\/p>\n C\u00e1c l\u1ec7nh nh\u01b0 sau:<\/p>\n \u0110\u1ec3 ch\u1ea1y l\u1ec7nh t\u00edch h\u1ee3p, b\u1ea1n login v\u00e0o SSL r\u1ed3i ch\u1ea1y c\u00e1c l\u1ec7nh b\u00ean d\u01b0\u1edbi.<\/p>\n Sau khi khai b\u00e1o t\u00edch h\u1ee3p xong, ch\u00fang ta s\u1ebd ch\u1ea1y l\u1ec7nh n\u00e0y \u0111\u1ec3 y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t ch\u1ee9ng ch\u1ec9 Zero SSL \u0111\u1ea7u ti\u00ean<\/p>\n L\u01b0u \u00fd:\u00a0<\/span><\/em><\/strong><\/p>\n Vi\u1ec7c c\u00e0i \u0111\u1eb7t Zero SSL c\u0169ng t\u01b0\u01a1ng t\u1ef1 nh\u01b0 c\u00e0i Let’s encrypt tr\u01b0\u1edbc \u0111\u00e2y. Ch\u00fang ta truy c\u1eadp v\u00e0o SSL Certificates -> Click Tab Free & automatic certificate -> Save<\/span><\/strong> l\u00e0 xong<\/p>\n <\/p>\n <\/p>\n Sau khi click Save ch\u00fang ta \u0111\u1ee3i ch\u00fat \u0111\u1ec3 h\u1ec7 th\u1ed1ng c\u00e0i \u0111\u1eb7t SSL m\u1edbi.<\/p>\n C\u00e1c b\u1ea1n th\u1ea5y n\u00f3 v\u1eabn hi\u1ec7n l\u00e0 Let’s Encrypt, h\u00e3y m\u1eb7c k\u1ec7 n\u00f3, v\u00ec vi\u1ec7c t\u00edch h\u1ee3p n\u00e0y kh\u00f4ng ph\u1ea3i l\u00e0 ph\u00e1t h\u00e0nh ch\u00ednh th\u1ee9c c\u1ee7a Directadmin. Ch\u00fang ta t\u00edch h\u1ee3p v\u00e0o thay th\u1ebf Let’s encrypt hi\u1ec7n t\u1ea1i th\u00f4i, n\u00ean t\u00ean tr\u00ean host v\u1eabn \u0111\u1ec3 l\u00e0 Let’s encrypt. (b\u00ecnh c\u0169 r\u01b0\u1ee3u m\u1edbi nh\u00e9)<\/em><\/p>\n Khi th\u1ea5y b\u1ea3n th\u00f4ng bao nh\u01b0 b\u00ean d\u01b0\u1edbi l\u00e0 \u0111\u00e3 c\u00e0i xong r\u1ed3i<\/p>\n <\/p>\n1. T\u00edch h\u1ee3p Zero SSL<\/h2>\n
\/usr\/local\/directadmin\/custombuild\/build update\r\n\/usr\/local\/directadmin\/custombuild\/build lego\r\n\/usr\/local\/directadmin\/custombuild\/build letsencrypt\r\ntouch \/root\/.zerossl<\/pre>\n
2. Ch\u1ea1y l\u1ec7nh y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t SSL \u0111\u1ea7u ti\u00ean<\/h2>\n
\/usr\/local\/directadmin\/scripts\/letsencrypt.sh request_single sv3.saigondata.net 2048\r\nservice directadmin restart<\/pre>\n
\n
3. C\u00e0i \u0111\u1eb7t Zero SSL cho c\u00e1c domain tr\u00ean hosting<\/h2>\n
4. Ki\u1ec3m tra th\u00f4ng tin ch\u1ee9ng ch\u1ec9.<\/h2>\n