before applying for the free SSL certificate of wosign. Later, it was found that the wosign certificate does not support the single certificate and both the root domain and the www subdomain, so it is replaced with the current StartCom certificate. However, StartCom has the disadvantage of entering the password for the private key when nginx is restarted or reloaded. Although the password is very annoying, it is generally not necessary to use the input once, so I did not consider so much.
The result was a cup in a few days. In the past two weeks, the main station and git were moved to windowsazurue. After restarting the machine yesterday, I found that ssh could not connect. So I went directly to azure's customer service. After checking it, they told me that during the booting process, I got stuck in nginx:
1
It is obviously because of the certificate private key password. After some tossing, finally solved this problem.
It's actually very simple, we only need to export a private key file that does not require a private key password. Assuming the private key file is server.key, execute the following command: openssl rsa -in server.key -out server.key.unsecure
Then replace the path of server.key.unsecure with the original nginx configuration file. Certificate path: ssl_certificate /etc/ssl/server.crt;# Modify the following line to point to the generated server.key.unsecure file ssl_certificate_key /etc/ssl/server.key.unsecure;
Change nginx The status does not require a certificate password.
How do I view all running processes in Linux? You can use the ps command. It can
Download NetBeans Take netbeans-7.0beta2-ml-javaee-linux.sh as an example #sh netbeans-7.0beta2-ml-
In software development, tasks often have to go to sleep because some conditions are not met, and th
There is no doubt that Red Hat is indeed the choice of many companies considering Linux, but in rece
Linux VI command interpretation
Linux operation and maintenance commonly used commands and knowledge Daquan
View the memory method used by a program under Linux
Qq for linux installation and uninstallation
How to open telnet function in Linux?
The basic concept of Linux server cluster
Linux two simple alternatives to "peanut shell" software
How to view the sector size in Linux
Counting "unfinished" non-open source software on Linux platforms
Vmware 9 installation Mac 10.8 OS
Yum error Error: Cannot find a valid baseurl for repo: addons
How does the Windows 8 system set to stop automatically installing drivers?
WP8 version of Alipay wallet has a look
What should I do if WinXP shares the printer and says "Workstation service is not started"?
Win8 download Win10 dual system Win8.1 and Win10 dual system installation tutorial
What is the better computer configuration for playing in my world.
Experience sharing: Windows add new methods to delete
Microsoft or affected by Windows 8.1