What type of hardware are you using: VPS bought online
What YunoHost version are you running: 2.1.35 (stable)
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: SSL Certificate Issue - yunohost(dot)org instead of my domain for admin panel
Describe your issue
Hello,
I’m experiencing an SSL certificate issue with my YunoHost instance, specifically affecting the admin panel.
What I’m trying to achieve:
Have a valid Let’s Encrypt SSL certificate for my main domain mydomain(dot)tld
Ensure the browser displays a valid, secure certificate for my domain, especially for the admin panel
All services should use my domain’s certificate, not the default yunohost(dot)org one
Current situation:
Let’s Encrypt certificates are properly generated for mydomain(dot)tld (confirmed by yunohost domain cert status mydomain(dot)tld)
But the browser keeps showing the default yunohost(dot)org certificate instead of mydomain(dot)tld
HTTPS connections work, but with the wrong certificate
This affects the main domain and particularly the admin panel
What I’ve already tried:
sudo yunohost domain cert-install mydomain(dot)tld --force → certificate regenerated successfully
sudo systemctl restart nginx → restarted without errors
Certificate files verification: they exist in /etc/yunohost/certs/mydomain(dot)tld/
Main Nginx configuration points to the correct certificate
The specific issue:
When I check the admin panel configuration:
bash
sudo grep “ssl_certificate” /etc/nginx/conf.d/yunohost_admin.conf
Result:
text
ssl_certificate /etc/yunohost/certs/yunohost(dot)org/crt(dot)pem;
ssl_certificate_key /etc/yunohost/certs/yunohost(dot)org/key(dot)pem;
Additional context:
Domain list shows mydomain(dot)tld as main domain
I attempted yunohost tools regen-conf yunohost-admin --force but it failed with an error
Manual editing of the file works temporarily but gets overwritten
My questions:
Is it expected that yunohost_admin.conf still uses yunohost(dot)org certificates instead of my domain’s?
If not, what’s the proper way to fix this for the admin panel?
Could this be related to how the main domain is configured system-wide?
Any guidance would be greatly appreciated!
Thank you for your help.