Probleme redirection https://monexpertinfo.com vers https://www.monexpertinfo.com

Veuillez remplir les champs ci-dessous pour que nous puissions vous aider. Remarque : vous devez fournir votre nom de domaine pour obtenir de l’aide. Les noms de domaine des certificats émis sont tous rendus publics dans les journaux de Transparence de Certificat (par exemple, https://crt.sh/?q=example.com). Par conséquent, le fait de ne pas indiquer votre nom de domaine ici n’aide pas à le garder secret, mais rend plus difficile pour nous le fait de vous aider.

Je peux lire des réponses en Anglais : OUI

Mon nom de domaine est : https://www.monexpertinfo.com

J’ai exécuté cette commande : https://monexpertinfo.com/

Elle a produit cette sortie : NET::ERR_CERT_COMMON_NAME_INVALID

Mon serveur Web est (inclure la version) :Debian

Le système d’exploitation sur lequel mon serveur Web s’exécute est (version incluse) : 8 jessy

Mon hébergeur, le cas échéant, est : VPS Ghost

Je peux me connecter à un shell root sur ma machine (oui ou non, ou je ne sais pas) : OUI

J’utilise un panneau de configuration pour gérer mon site (non, ou fournit le nom et la version du panneau de configuration) : NON

Bonjour j’ai installé l’étang crypte sur mon serveur et j’ai déclaré comme certificat les ton crypte https://www.monexpertinfo.com et pas https://monexpertinfo.com le problème est que je n’arrive pas à rediriger le domaine quand le 3W pas ?? C’est-à-dire https://monexpertinfo.com donc les u donc lestilisateur utilisateurvont avoir un mess bon au revoirage d’erreur sage d’erreursuivant:

NET::ERR_CERT_COMMON_NAME_INVALID

Comment faire pour rediriger le https:// vers le https://www. obliger ??

merci de m’aider


Please fill in the fields below so that we can help you. Note: you must provide your domain name for assistance. The domain names of certificates issued are all made public in Certificate Transparency logs (for example, https://crt.sh/?q=example.com). Therefore, not listing your domain name here does not help keep it secret, but makes it more difficult for us to help you.

I can read answers in English: YES

My domain name is: https://www.monexpertinfo.com

I executed this command: https://monexpertinfo.com/

It produced this output: NET::ERR_CERT_COMMON_NAME_INVALID

My web server is (include version) :Debian

The operating system on which my web server runs is (version included): 8 jessy

My host, if applicable, is: VPS Ghost

I can connect to a root shell on my machine (yes or no, or I don’t know): YES

I use a control panel to manage my site (no, or provide the name and version of the control panel): NO

Hello I installed the crypt pond on my server and I declared as certificate your crypt https://www.monexpertinfo.com and not https://monexpertinfo.com the problem is that I can not redirect the domain when the 3W not ?? I.e. https://monexpertinfo.com so the u so the user will have a good mess to the following error wise error redirection:

NET::ERR_CERT_COMMON_NAME_INVALID

How do I redirect https:// to https://www. force??

thanks for you help

To redirect from https://monexpertinfo.com to https://www.monexpertinfo.com without error, both domains must have a valid certificate.

When I installed the pond crypt it proposed to me to choose either the domain www.monexpertinfo.com or the domain monexpertinfo.com, so I installed the certificate on www.monexpertinfo.com thank you to explain me what is wrong? Is it possible to install another certification on monexpertinfo.com although there is a certificate on www.monexpertinfo.com I confess that I do not understand how to proceed? Thank you to enlighten me please

Yes, of course it's possible.

You probably need to follow the same steps to generate a certificate for the other domain, but without more details, it's hard to help you.

so it’s simple I ran the script that is described in this tutorial

and under linux I chose www.monexpertinfo.com and letencrypt to create a certificate for this url and not for myexpertinfo.com it’s either one or the other we can’t choose both ? what do you propose ?

You can. From your link:

Cette commande permet de configurer automatiquement le ou les certificats SSL des différents domaines qui sont sur votre VPS ou serveur. Indiquez le ou les domaines en les séparant par des ,. ATTENTION Let’s Encrypt ne gère pas de Wildcard (sous domaines), si vous utilisez plusieurs domaines et sous-domaines vous devrez tous les indiquer : mondomain.ext,www.mondomain.ext

This is somewhat outdated or inaccurate information, because Let's Encrypt does generate wildcard certificates. But they have to be obtained using a DNS validation method, which is difficult in some configurations.

That's also not very relevant to this question, but I just wanted to correct this misinformation in case anyone else sees this thread later on.

2 Likes

Please, I’d like to know if I’m running the script./letsencrypt-auto

again on my server, it proves to me that www?myexpertinfo.com and not myexpertinfo.com ?? what do I have to do to see both ? double the vhost ? or simply add an alias in the vhost ? the script base it on the servername attribute www.monexpertinfo.com then I have to add another vhost file by making a copy/paste of the vhost or servername = www. and the I maos servername myexpertinfo.com ? thanks for your help

Hello! when you install you must choose your domain without www and execute this command after finishing. ./letsencrypt-auto certonly --verbose --webroot -w /home/name/projects/www/your-directory-project -d yourdomain.com -d www.yourdomain.com
I hope I helped you. ^^