Pertanyaan :Saya telah mengikuti panduan Anda untuk menginstal Certbot di CentOS Stream 8. Namun, certbot --apache
perintah gagal dengan pesan kesalahan 'Plugin apache yang diminta tampaknya tidak diinstal '. – Sathish.
# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log The requested apache plugin does not appear to be installed
Instal plugin apache Certbot di CentOS
CatatanTutorial ini mengasumsikan bahwa Anda telah menginstal Certbot di CentOS Stream 8. Jika belum, Anda harus menginstalnya terlebih dahulu sebelum membaca lebih lanjut.
Pesan kesalahan dengan jelas mengatakan bahwa Certbot memerlukan plugin apache untuk diinstal. Meskipun Anda telah menginstal Apache dan Certbox, Anda memerlukan plugin certbot apache untuk mengambil sertifikat dan menginstalnya secara otomatis di server web Apache.
Daftar plugin certbot:
# certbot plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * standalone Description: Spin up a temporary webserver Interfaces: Authenticator, Plugin Entry point: standalone = certbot._internal.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: Authenticator, Plugin Entry point: webroot = certbot._internal.plugins.webroot:Authenticator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output di atas mengkonfirmasi bahwa plugin Apache tidak diinstal dan Anda perlu menginstalnya seperti yang ditunjukkan di bawah ini.
Instal plugin certbot apache
# dnf install python3-certbot-apache :::::::::::::::::::::::::::::::: Installed: python3-augeas-0.5.0-12.el8.noarch python3-certbot-apache-1.22.0-1.el8.noarch Complete!
Periksa apakah plugin sudah terpasang dengan benar.
# certbot plugins - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * apache Description: Apache Web Server plugin Interfaces: Installer, Authenticator, Plugin Entry point: apache = certbot_apache._internal.entrypoint:ENTRYPOINT * standalone Description: Spin up a temporary webserver Interfaces: Authenticator, Plugin Entry point: standalone = certbot._internal.plugins.standalone:Authenticator * webroot Description: Place files in webroot directory Interfaces: Authenticator, Plugin Entry point: webroot = certbot._internal.plugins.webroot:Authenticator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sekarang plugin telah terinstal, Anda siap untuk mengambil sertifikat dan menginstalnya di server web Apache.
#certbot --apache
Itu dia! Pelajari lebih lanjut tentang sertifikat Let's Encrypt.