Tạo self-signed SSL certificates cho development
Configure và click Generate Certificate
Công cụ tạo self-signed SSL certificates cho development và testing. Generate private key, CSR, certificate cho localhost, staging environments.
Khi develop applications locally hoặc trên staging, bạn cần HTTPS để test features như Service Workers, WebRTC, Geolocation. SSL Certificate Generator giúp bạn tạo self-signed certificates nhanh chóng cho localhost và development environments mà không cần mua certificate hoặc dùng Let's Encrypt.
Self-signed: tự tạo, free, browser warning, chỉ dùng development/testing. CA-signed: từ Certificate Authority (Let's Encrypt, DigiCert), trusted by browsers, dùng production. Let's Encrypt: free CA-signed certificates, auto-renewal, dùng cho production websites.
Nginx: ssl_certificate /path/to/cert.pem; ssl_certificate_key /path/to/key.pem; Apache: SSLCertificateFile /path/to/cert.pem; SSLCertificateKeyFile /path/to/key.pem; Node.js: https.createServer({key, cert}, app); Browser: import certificate vào Trusted Root Certificates để tránh warning.
Use strong ciphers: TLS 1.2+, disable SSL 3.0. HSTS: force HTTPS. Certificate pinning cho mobile apps. Auto-renewal: Let's Encrypt certbot. Monitor expiry: setup alerts 30 days trước. Redirect HTTP to HTTPS. Use CDN với SSL (Cloudflare free SSL).
An toàn cho development/testing. Không nên dùng production vì browsers sẽ warning, users không trust. Dùng Let's Encrypt (free) hoặc paid CA cho production.
Import certificate vào browser's Trusted Root Certificates. Chrome: Settings > Privacy > Manage certificates > Trusted Root > Import. Firefox: Preferences > Certificates > View Certificates > Import. Hoặc dùng mkcert tool để tự động trust.
KHÔNG. Self-signed certificates không được browsers trust, users sẽ thấy warning. Dùng Let's Encrypt (free, auto-renewal) hoặc paid certificates (DigiCert, Sectigo) cho production.
Development: 365-730 days (1-2 năm). Production: Let's Encrypt = 90 days (auto-renewal), paid = 1-2 years. Browsers đang giảm max validity: hiện tại max 398 days (13 tháng).
Generate certificate cho localhost. Install vào web server (nginx, apache, node). Import certificate vào browser. Access https://localhost. Hoặc dùng mkcert tool (easier): mkcert -install, mkcert localhost.
Browser sẽ warning. Development: generate certificate mới. Production: renew trước khi expire (Let's Encrypt auto-renew, paid certificates cần manual renew). Setup monitoring để alert 30 days trước expiry.
mkcert: best tool cho local development, auto-install vào system trust store. certbot: Let's Encrypt client, auto-renewal. OpenSSL: command-line tool, flexible nhưng phức tạp. Caddy web server: auto HTTPS với Let's Encrypt.
Certificate cho *.example.com, cover tất cả subdomains (api.example.com, app.example.com). Let's Encrypt support wildcard (cần DNS validation). Paid certificates: thường đắt hơn. Useful cho multi-tenant apps.
Chúng tôi không chỉ thiết kế website, mà còn giúp doanh nghiệp xây dựng thương hiệu số mạnh mẽ. Cung cấp dịch vụ thiết kế website trọn gói từ thiết kế đến tối ưu SEO. Hãy liên hệ ngay với Tấn Phát Digital để cùng tạo nên những giải pháp công nghệ đột phá, hiệu quả và bền vững cho doanh nghiệp của bạn tại Hồ Chí Minh.