
Nhận Certificate Class1 free với SSL:
Bước tiếp theo cần thực hiện ở đây là truy cập vào StartSSL và tạo mới 1 tài khoản. Sau khi xác nhận thông tin chính xác của domain (tại thẻ Validations Wizard), hãy yêu cầu certificate của bạn trong thẻ Certificates Wizard > Web Server SSL/TLS Certificate từ menu Certificate Target như hình dưới:

Nếu đã có sẵn private key và CSR thì có thể bỏ qua bước này, nhấn nút Skip >>:

Trong trang tiếp theo, nhập nội dung của file CSR, ví dụ như bên trong file /usr/local/ispconfig/interface/ssl/ispserver.csr (thường bắt đầu bằng -----BEGIN CERTIFICATE REQUEST----- và kết thúc bởi -----END CERTIFICATE REQUEST-----):

Sau đó, làm theo hướng dẫn hiển thị, hệ thống sẽ hỏi bạn về domain và sub domain khởi tạo certificate, nếu dùng server1.example.com cho tất cả các dịch vụ thì hãy nhập example.com là domain và server1 là sub domain. Và sau vài phút, chúng ta sẽ nhận được email thông báo về certificate đã hoàn tất. Mở Toolbox > Retrieve Certificate và chọn certificate của chúng ta:

Copy certificate từ giao diện web của StartSSL:

Sao lưu 1 bản của file ispserver.crt gốc, sau đó nhập nội dung của file certificate StartSSL Class1 vào file ispserver.crt vừa thao tác:
mv /usr/local/ispconfig/interface/ssl/ispserver.crt
/usr/local/ispconfig/interface/ssl/ispserver.crt_bak
vi /usr/local/ispconfig/interface/ssl/ispserver.crt
-----BEGIN CERTIFICATE-----
MIIHMTCCBhmgAwIBAgIDxxxxxx
0GCSqGSIb3DQEBBQUAMIGMMQswCQYDVQQGEwJJ
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c2x1wonVRVmKovt2OuM1ZqZw0Ynk
-----END CERTIFICATE-----
Tiếp theo, tải phần Root CA của StartSSL và Class1 Intermediate Server CA:
cd /usr/local/ispconfig/interface/ssl
wget https://www.startssl.com/certs/ca.pem
wget https://www.startssl.com/certs/sub.class1.server.ca.pem
Nếu dùng certificate Class2 thì tải sub.class2.server.ca.pem thay vì sub.class1.server.ca.pem. Sau đó, đổi tên cả 2 file này:
mv ca.pem startssl.ca.crt
mv sub.class1.server.ca.pem startssl.sub.class1.server.ca.crt
Thay đổi câu lệnh thứ 2 trong trường hợp bạn dùng certificate Class2. Tuy nhiên, có một vài dịch vụ có yêu cầu sử dụng file .pem được tạo theo cách sau (thay đổi lệnh thứ 2 sao cho phù hợp nếu dùng certificate Class2):
cat startssl.sub.class1.server.ca.crt startssl.ca.crt > startssl.chain.class1.server.crt
cat ispserver.{key,crt} startssl.chain.class1.server.crt > ispserver.pem
chmod 600 ispserver.pem |