
Al intentar generar un certificado Let's Encrypt para mi NAS Asustor a través de Configuración -> Administrador de certificados (siguiendo elinstrucciones), el proceso falló repetidamente con error Ref. 5402
. Desinstalar/reinstalar Let's Encrypt ACME Client
desde Asustor App Central
no ayudó. ¿Qué más puedo probar?
Respuesta1
Tl;DR
ssh en el NAS usando una terminal y ejecute los siguientes comandos
rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot
rm -rf /volume1/.@plugins/AppCentral/python3/lib/python3.10/site-packages/~ertbot-2.6.0.dist-info
Luego regrese a la GUI del administrador de certificados, siga las instrucciones y el proceso debería funcionar.
Más información:
Después de fallar la interfaz de usuario, ingresé al NAS e intenté ejecutar certbot
(la herramienta utilizada por Let's Encrypt bajo el capó) manualmente e instalar el certificado generado manualmente. Sin embargo, eso falló con el siguiente error:
An unexpected error occurred:
Exception: Duplicate plugin name manual from certbot and -ertbot.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-bufbgpei/log or re-run Certbot with -v for more details.
nic@LaNube:/volume1 $ cat /tmp/certbot-log-bufbgpei/log
2024-03-02 15:03:00,062:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in <module>
sys.exit(main())
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/main.py", line 1835, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 192, in find_all
cls._load_entry_point(entry_point, plugins)
File "/usr/local/AppCentral/letsencrypt/data/module/lib/python3.10/site-packages/certbot/_internal/plugins/disco.py", line 204, in _load_entry_point
raise Exception("Duplicate plugin name {0} from {1} and {2}.".format(
Exception: Duplicate plugin name manual from certbot and -ertbot.
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:An unexpected error occurred:
2024-03-02 15:03:00,063:ERROR:certbot._internal.log:Exception: Duplicate plugin name manual from certbot and -ertbot.
cerbot
falla porque encuentra dos conjuntos de complementos, uno en la cerbot
instalación y otro en ~ertbot
. Eliminar la ~ertbot
instalación resuelve el problema del complemento duplicado y no parece tener un efecto adverso en la instancia real de Let's Encypt. Este paquete adicional parece ser instalado de forma predeterminada por el instalador de App Central.