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

**URL:** <https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678>\
**Category:** Aide (en français)\
**Created:** [January 1, 2020, 2:51pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678 "2020-01-01T14:51:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael10fr](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@michael10fr](https://community.letsencrypt.org/u/michael10fr)\
**Post date:** [January 1, 2020, 2:51pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/1 "2020-01-01T14:51:24Z")

</div>

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](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](https://www.monexpertinfo.com)

J’ai exécuté cette commande : [https://monexpertinfo.com/](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](https://www.monexpertinfo.com) et pas [https://monexpertinfo.com](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](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](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](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](https://www.monexpertinfo.com)

I executed this command: [https://monexpertinfo.com/](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](https://www.monexpertinfo.com) and not [https://monexpertinfo.com](https://monexpertinfo.com) the problem is that I can not redirect the domain when the 3W not ?? I.e. [https://monexpertinfo.com](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](https://www). force??

thanks for you help

---

<div class="post-metadata">

**Author:** ![tdelmas](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tdelmas/32/1866_2.png) [@tdelmas](https://community.letsencrypt.org/u/tdelmas)\
**Post date:** [January 1, 2020, 3:05pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/2 "2020-01-01T15:05:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![michael10fr](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@michael10fr](https://community.letsencrypt.org/u/michael10fr)\
**Post date:** [January 1, 2020, 5:07pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/3 "2020-01-01T17:07:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tdelmas](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tdelmas/32/1866_2.png) [@tdelmas](https://community.letsencrypt.org/u/tdelmas)\
**Post date:** [January 1, 2020, 8:54pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/4 "2020-01-01T20:54:33Z")

</div>

> [@michael10fr](#):
>
> Is it possible to install another certification on [monexpertinfo.com](http://monexpertinfo.com) although there is a certificate on [www.monexpertinfo.com](http://www.monexpertinfo.com)

Yes, of course it's possible.

> [@michael10fr](#):
>
> I confess that I do not understand how to proceed?

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.

---

<div class="post-metadata">

**Author:** ![michael10fr](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@michael10fr](https://community.letsencrypt.org/u/michael10fr)\
**Post date:** [January 1, 2020, 9:42pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/5 "2020-01-01T21:42:33Z")

</div>

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

> **[Installation certificat SSL gratuit Let's Encrypt sur linux Debian 8 ou 9](https://css.comonsoft.com/tutoriels/installation-certificat-lets-encrypt-ssl-debian.htm)**
>
> Tutoriel pour installer facilement un certificat SSL gratuit Let's Encrypt sur un VPS ou un serveur dédié. Niveau de difficulté : débutant. Temps: 20'

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

---

<div class="post-metadata">

**Author:** ![tdelmas](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/tdelmas/32/1866_2.png) [@tdelmas](https://community.letsencrypt.org/u/tdelmas)\
**Post date:** [January 1, 2020, 9:45pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/6 "2020-01-01T21:45:30Z")

</div>

> [@michael10fr](#):
>
> it’s either one or the other we can’t choose both ?

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

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [January 2, 2020, 11:14pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/7 "2020-01-02T23:14:06Z")

</div>

> [@tdelmas](#):
>
> > Let’s Encrypt ne gère pas de Wildcard (sous domaines)

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.

---

<div class="post-metadata">

**Author:** ![michael10fr](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@michael10fr](https://community.letsencrypt.org/u/michael10fr)\
**Post date:** [January 4, 2020, 7:03pm UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/8 "2020-01-04T19:03:33Z")

</div>

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](http://myexpertinfo.com) and not [myexpertinfo.com](http://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](http://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](http://myexpertinfo.com) ? thanks for your help

---

<div class="post-metadata">

**Author:** ![Nikdoule](https://avatars.discourse-cdn.com/v4/letter/n/eb8c5e/32.png) [@Nikdoule](https://community.letsencrypt.org/u/Nikdoule)\
**Post date:** [June 28, 2020, 10:40am UTC](https://community.letsencrypt.org/t/probleme-redirection-https-monexpertinfo-com-vers-https-www-monexpertinfo-com/109678/9 "2020-06-28T10:40:40Z")

</div>

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](http://yourdomain.com) -d [www.yourdomain.com](http://www.yourdomain.com)  
I hope I helped you. ^^
