Plesk with Alias Domains


#1

Dear Let’s Encrypt Community,

first of all, thank you so much for all your efforts.

My Problem:
The server is running Plesk Onyx Version 17.0.17.
The website has two domains.
One is a real domain in Plesk, the other is an Alias, but without a redirect.
The website needs to be accessible from both domains.
I know that Plesk has a Let’s Encrypt Plugin.
Unfortunetly it does not include the Alias Domains.

I managed to create a working certificate via

./certbot-auto certonly --webroot -w /var/www/vhosts/domain.com/httpdocs -d domain.com -d domain.net

It creates a few files, which i can manually copy&paste into the Plesk Gui and everything is working great.
Unfortunetly the certificates’ lifetime is very short.

Does anyone know a way to automate this process?
Or maybe if the Plesk Plugin will ever include Alias Domains?


#2

You mean, you only see one domain, the non-alias-domain in this screen of your Plesk?

Also, there’s already an issue on the extensions Github repo: Support for domain aliases #28.


#3

Correct, that screen has just one domain.
Even if i click the Let’s Encrypt Button on the Alias Domain, it just forwards me to the Main Domain and just includes maindomain.com and www.maindomain.com.


#4

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