Accéder au contenu principal

Problem installation AutoSSL



I add new subdomain to my user " domianedz" domain "domiane.dz"

the subdomain is "sub.domaine.dz" and "sub2.domaine.dz"

When i run AutoSSL i got this error

*****************************************
sub.domaine.dz
AutoSSL last ran on 3 mars 2021.
No certificate available. AutoSSL will attempt to secure the domain the next time it runs.

sub2.domaine.dz
AutoSSL last ran on 3 mars 2021.
No certificate available. AutoSSL will attempt to secure the domain when the parent domain “sub.domaine.dz” renews.
*****************************************************

Can you help me to add "autoSSL" to this subdomain ?

*********************************************************************************

You need to go to WHM >> SSL/TLS >> Manage AutoSSL >> Options >> Allow AutoSSL to replace invalid or expiring non-AutoSSL certificate and click the box next to this option and save the new changes and then run this command one more time: 

/usr/local/cpanel/bin/autossl_check --user=domianedz

I hope this information is useful. Please let me know how it goes. 

**************************************************************************************


Looking at the AutoSSL logs, there is a permission problem on the document root for that domain that prevents AutoSSL to issue a certificate:

 8:52:48 AM WARN Local HTTP DCV error (sub.domiane.dz): The system failed to create the directory “/home/domianedz/public_html/sub/.well-known” because of an error: Permission denied
 WARN Local HTTP DCV error (www.domiane.dz): The system failed to create the directory “/home/domianedz/public_html/aarn/.well-known” because of an error: Permission denied

I have gone ahead and fixed the permissions for it and clear the pending queue, which allowed AutoSSL to issue and install a certificate for the domain:

How can I clear the AutoSSL Queue?

/home/domianedz/public_html]cPs# ll
total 247504
drwxr-xr-x. 24 root root 8192 Mar 3 11:42 aarn


# chown domianedz:domianedz sub
[08:56:58 mail root@94297012 /home/domianedz/public_html]cPs# ls -alh
total 242M
drwxr-x---. 24 domianedz domianedz 4.0K Mar 3 11:26 .
drwx--x--x. 23 domianedz domianedz 4.0K Mar 3 11:41 ..
drwxr-xr-x. 24 domianedz domianedz 8.0K Mar 3 11:42 aarn
# mv -v /var/cpanel/autossl_queue_cpanel.sqlite /var/cpanel/autossl_queue_cpanel.sqlite.bak
‘/var/cpanel/autossl_queue_cpanel.sqlite’ -> ‘/var/cpanel/autossl_queue_cpanel.sqlite.bak’

The certificate was issued and installed (see attachment):

The system has completed “domianedz”’s AutoSSL check.
9:01:01 AM Polling for “domianedz”’s new certificate for “sub.domiane.dz” (order item ID “1127984179”) …
 9:01:02 AM The certificate is available.
Installing “syb.domiane.dz”’s new certificate …
 9:01:03 AM SUCCESS Success!

Please let us know if everything looks good on your side too.

Commentaires

Posts les plus consultés de ce blog

Open Media Vault NAS change password

Known Root Password Login to the OMV using the root user and the current password via SSH or Console enter the following command passwd root The new password is now active. Unknown Root Password, but Admin Access to OMV GUI is Available In this scenario we still can help ourselves with the GUI. The method we use is, that we create a cron job for the root user which then resets the password. Navigate to System -> Cron Jobs Press the +Add button UN-tick the enabled box, so that the cronjob does not run automatically. put into the command field the following line, replace newpasswd with your password: echo "root:newpasswd" | chpasswd press okay select the newly created cron job Click the run button. in the opening window click the start button. It will shortly deactivate and activate again. open ssh or console and login as root with your new password. Root and Admin Password Unknown If you do not know the root password, you need to boot with a Li...

How to Install Cpanel/WHM in RHEL/CentOS 6/5

ici quelques notions de bases que je vous invite à lire avant de commencer Basculer un clavier en AZERTY ou en QWERTY sous Linux setxkbmap fr Se connecter en adminstrateur su - root yum update  ( Yellowdog Updater, Modified ) cPane l is one of the most popular Commercial control panel for Linux web hosting, I have been working with cPanel for 2+ years to manage all Shared, Reseller and business hosting customers. It comes with cPanel and Web Host Manager, which makes web hosting easier for you. WHM provides you root level access to your server whereas cPanel provides user level access interface to manage their own web hosting account on the server. Features of cPanel cPanel control panel is very versatile control panel for managing your hosting servers, It has lots of features which make Web hosting easier for you. Some of them are listed below: Powerful GUI controls on your server with WHM. Can perform tedious tasks like Backups, Migrations and restoratio...

Les commandes de base des switchs

Commandes • enable o Depuis le mode utilisateur permet d'accéder au mode privilégié. • configure terminal o Depuis le mode privilégié permet d'accéder au mode de configuration globale. • show version o Permet de vérifier la version de l'IOS et la valeur du registre de configuration. • show running-config o Permet d'afficher le fichier de configuration actif. • show interface FastEthernet [numéro de l'interface] o Affiche le statut de l'interface, le débit, l'auto négociation et les statistiques de l'interface. • show ip interface brief o Voir tous les ports du Switch • show flash ou dir:flash o Affiche la version de l'image de l'IOS contenue dans la mémoire flash, la taille de la mémoire et la mémoire utilisée.  • show interface status o Affiche le mode opérationnel du port. • show controllers ethernet-controller o Affiche les statistiques sur les données reçues et envoyées au niveau matériel.  • show ...