{"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
\n \n
\n \n
\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n <\/div>\n \n
\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n
\n \n\n
<\/div>\n <\/div>\n <\/div>\n<\/div>\n \n\n
\n 4\/5 - (2 b\u00ecnh ch\u1ecdn) <\/div>\n <\/div>\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

1. T\u00edch h\u1ee3p Zero SSL<\/h2>\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

\/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

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

\/usr\/local\/directadmin\/scripts\/letsencrypt.sh request_single sv3.saigondata.net 2048\r\nservice directadmin restart<\/pre>\n

L\u01b0u \u00fd:\u00a0<\/span><\/em><\/strong><\/p>\n