OK then
sudo /opt/bitnami/apache2/bin/httpd -k stop
or
sudo /opt/bitnami/apache2/bin/httpd -k graceful-stop
[if you care about any ongoing connections]
bitnami@ip-172-26-12-170:~$ sudo /opt/bitnami/apache2/bin/httpd -k stop
httpd.bin: Could not open configuration file /bitnami/lamp72stack-linux-x64/output/apache2/
conf/httpd.conf: No such file or directory
Iām not worried about ongoing connections
OMG!!!
Try:
sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k stop
looks like that worked
OMG! Did that work?
bitnami@ip-172-26-12-170:~$ sudo /opt/bitnami/letsencrypt/lego \
--path=/opt/bitnami/letsencrypt
--email=flyntmor@gmail.com
--domains=morelandarts.com
--domains=www.morelandarts.com
--http renew
2019/11/24 05:10:22 [INFO] [morelandarts.com] acme: Trying renewal with 182 hours remaining
2019/11/24 05:10:22 [INFO] [morelandarts.com, www.morelandarts.com] acme: Obtaining bundled
SAN certificate
2019/11/24 05:10:23 [INFO] [morelandarts.com] AuthURL: https://acme-v02.api.letsencrypt.org
/acme/authz-v3/1380275084
2019/11/24 05:10:23 [INFO] [www.morelandarts.com] AuthURL: https://acme-v02.api.letsencrypt
.org/acme/authz-v3/1380275086
2019/11/24 05:10:23 [INFO] [morelandarts.com] acme: Could not find solver for: tls-alpn-01
2019/11/24 05:10:23 [INFO] [morelandarts.com] acme: use http-01 solver
2019/11/24 05:10:23 [INFO] [www.morelandarts.com] acme: Could not find solver for: tls-alpn
-01
2019/11/24 05:10:23 [INFO] [www.morelandarts.com] acme: use http-01 solver
2019/11/24 05:10:23 [INFO] [morelandarts.com] acme: Trying to solve HTTP-01
2019/11/24 05:10:23 [INFO] [morelandarts.com] Served key authentication
2019/11/24 05:10:24 [INFO] [morelandarts.com] Served key authentication
2019/11/24 05:10:24 [INFO] [morelandarts.com] The server validated our request
2019/11/24 05:10:24 [INFO] [www.morelandarts.com] acme: Trying to solve HTTP-01
2019/11/24 05:10:24 [INFO] [www.morelandarts.com] Served key authentication
2019/11/24 05:10:24 [INFO] [www.morelandarts.com] Served key authentication
2019/11/24 05:10:24 [INFO] [www.morelandarts.com] Served key authentication
2019/11/24 05:10:29 [INFO] [www.morelandarts.com] The server validated our request
2019/11/24 05:10:29 [INFO] [morelandarts.com, www.morelandarts.com] acme: Validations succe
eded; requesting certificates
2019/11/24 05:10:29 [INFO] [morelandarts.com] Server responded with a certificate.
bitnami@ip-172-26-12-170:~$
I assume start would be:
sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k start
Or should I use restart?
I think so:
Yes: start
Try the list command again.
???
bitnami@ip-172-26-12-170:~ sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/con
f/httpd.conf -k start
httpd (pid 2314) already running
bitnami@ip-172-26-12-170:~ sudo /opt/bitnami/letsencrypt/lego list
No certificates found.
says I now have 90 days
|CN=morelandarts.com|24.11.2019|22.02.2020
expires in 90 days | morelandarts.com, www.morelandarts.com - 2 entries |
---|
Hallelujah ! ! ! !
I cannot thank you enough!
Now I need to figure out how to get auto renew working, but Iām leaving that for another day.
Again, thank you, thank you, thank you!
Even though I lost the wagerā¦
Feel free to Buy me a or even better donate that money to LE
Either way:
-Cheers from Miami
Iāll do that (donate).
If anyone else ends up looking at these posts, Hereās a summary of what worked.
First Stop the web server:
sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k stop
Then send these command:
sudo /opt/bitnami/letsencrypt/lego
> --path=/opt/bitnami/letsencrypt
> --email=flyntmor@gmail.com
> --domains=morelandarts.com
> --domains=www.morelandarts.com
> --http renew
And Restart the webserver
sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k start
Unix shells normally only recognize "
and '
as quotation marks. The ā
and ā
characters, among others, arenāt suitable for use in shell scripting or command line interactions at all (regardless of how theyāre matched up). An āopeningā quotation mark in Unix shells is one that appears when youāre not already inside of quotation marks.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.