Failed to bind TCP port 443 LetsEncrypt
Could not bind TCP port 443 because it is already in use by another process on this system (for example, a web server). Please stop the program and then try again.
My operating system (including version): mac OS Sierra version 10.12
My webserver (including version): apache2-mod-php7.0_7.0.15
My hosting provider, if applicable, is: Linode (Ubuntu 16.04.1 LTS)
I can log into the root shell on my machine (yes or no, or I don't know): not sure
I am using a control panel to manage my site (no, or specify the name and version of the control panel): I am using terminal and filezilla
Question: how to stop the program ??? If you need more information, let me know!
source to share
Try using the following command in terminal to browse and search the process using regex: -
ps gx | grep 'java'
The above example lists all Symantec-related processes. Replace "Symantec" with your phrase. Then use the kill command options. You can use: -
kill pid
Replace "pid" with the actual process ID. Or use
killall
as suggested earlier. To reiterate another helpful suggestion, use
man kill
to see the guide for the kill command and also scroll down to see the related commands mentioned in SEE ALSO.
source to share
Instead of killing apache, you can use letencrypt certbot apache plugin . This way, Let Encrypt works with your installation, not against it. Once certbot is installed, it will automatically handle the certificate renewal for you.
To install certbot with apache plugin, you will need to run the following commands on your server. In this case, you can use the Linode Shell to access your server.
Installation procedure (from official docs):
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-apache
After installation, you can get ssl certificates automatically and install them with one command:
certbot --apache
source to share