ubuntu20.04 nginx startup error:
[email protected]:/etc/nginx/conf.d# nginx -s reload nginx: [warn] the “ssl” directive is deprecated, use the “listen … ssl” directive instead in /etc/nginx/conf.d/xx.conf:12 nginx: [emerg] SSL_CTX_use_certificate("/etc/nginx/conf.d/crt/server.crt") failed (SSL: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small)
Solution: When generating the secret key, the command is as follows
openssl genrsa -des3 -out server.key 1024
Modify to
openssl genrsa -des3 -out server.key 2048
Read More:
- [How to Solve] Apache cannot be restarted with Windows Server + Open SSL
- Nginx configuration 80 can be accessed by forcing jump 443 or not
- Nginx Startup Error: Job for nginx.service failed because the control process exited with error code
- Nginx Error: [emerg] bind() to [::]:80 failed (98: Address already in use)
- [Solved] Error during installation of nginx: Make: * * * [build] error 2
- [Solved] nginx: [error] open() “/usr/local/nginx/nginx.pid” failed (2: No such file or directory)
- [Nginx] solution: it can’t be accessed on the background API interface after HTTPS (access the specified port through the domain name)
- Nginx Startup Error: “/var/run/nginx/nginx.pid” failed” [How to Solve]
- ERROR: configuration failed for package ‘openssl’ [How to Solve]
- Nginx error: nginx: [error] invalid PID number ““ in “/run/nginx.pid“
- [Solved] Nginx cannot access pictures on FTP Error: Whitelabel error page
- How to Fix No default.conf file in conf.d after Installing Nginx
- Common configuration methods of nginx
- Nginx Error: nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /project/api/nginx.conf:
- Apache Cannot Start: SSL Library Error: -8181 Certificate has expired
- Restart and stop of nginx in Linux service
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- [Solved] Ubuntu Update source error: Certificate verification failed: The certificate is NOT trusted.
- How to Solve Ubuntu “Failed to fetch” Error