Cert problem on prod instance when dev instance is started

My YunoHost server

Hardware: Linux gre 5.4.253-current-odroidxu4 #2 SMP PREEMPT Mon Aug 14 01:33:04 UTC 2023 armv7l GNU/Linux inside lxc macvlan container
YunoHost version: 11.2.5
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I have one prod server in DMZ with full port range redirected to, named ynh-prod, with cert from letsencrypt

Then i recently created a new server for dev, name ynh-dev, with no direct access to internet. the goal is to use it wilth “.test” domain and local cert.

The problem is : when i run the ynh-dev, all my apps hosted on the ynh-prob fail with a certificat error which indicates that the owner is yunohost.org.

I don’t really understand why my ynh-dev server interacts with ynh-pro server at the certificates level.

Do someone have any idea how to resolve this ?
i did not find anythings on that, maybe i search in the wrong direction.

Just a tip : latest version does not exists in YunoHost, and anyone having the same problem in 3 years will be happy to look at the changelog and guess if you are up to date.

Please give all details :slight_smile:

When you disconnect the dev server, are things restored as they should ?

The only thing I can imagine is that the dev server request the ports 80/443 from your box, and have the port redirection to it, so the prod server is disconnected.

Corrected

Sorry I thought it was all details :slight_smile: I don’t know what to say more.

Yes

Bhouuu. I never thought about that upnp igd were prioritary over dmz. In the freebox.
I will watch for it.

upnp igd disabeled on my freebox resolve the problem
Merci @Mamie

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.