Tuesday, 14 November 2023

install --classic certbot di nginx debian situs

 # install --classic certbot

install: unrecognized option '--classic'

Try 'install --help' for more information.

root@websma2:~# snap install --classic certbot

certbot 2.7.4 from Certbot Project (certbot-eff✓) installed

root@websma2:~# ln -s /snap/bin/certbot /usr/bin/certbot

root@websma2:~# certbot --nginx

An error occurred while fetching Certbot snap plugins: your version of snapd is outdated.

Please run "sudo snap install core; sudo snap refresh core" in your terminal and try again.

An unexpected error occurred:

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://snapd/v2/connections?snap=certbot&interface=content

Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-cu5uqhil/log or re-run Certbot with -v for more details.

root@websma2:~# snap install core

2023-11-14T05:43:09+08:00 INFO Waiting for restart...

core 16-2.60.4 from Canonical✓ installed

Channel latest/stable for core is closed; temporarily forwarding to stable.

root@websma2:~# snap refresh core

snap "core" has no updates available


Share:

0 comments:

Post a Comment