Bug 44960 - Certificates for UCS-servers should also include alternative domains
Certificates for UCS-servers should also include alternative domains
Status: RESOLVED DUPLICATE of bug 44469
Product: UCS
Classification: Unclassified
Component: SSL
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-07 21:36 CEST by Nico Stöckigt
Modified: 2017-07-18 10:47 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017070721000574
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Stöckigt univentionstaff 2017-07-07 21:36:16 CEST
In some environments the server 'master.domain.local' is also available from outside 'webmail.domain.outside' or 'umc.domain.outside'. For such purposes it might be very handy if you can create certificates with additional CNames by using:

  univention-certificate new $(hostname -f) --additional-cnames="umc.domain.outside webmail.domain.outside"

I guess with UCS 4.2 this is more important than ever befor, because SSO need s specific certificate structure.
Comment 2 Philipp Hahn univentionstaff 2017-07-18 10:47:33 CEST
(In reply to Nico Stöckigt from comment #0)
> In some environments the server 'master.domain.local' is also available from
> outside 'webmail.domain.outside' or 'umc.domain.outside'.

The UCS certificate is only valid internally (as you can expect the world to import the self-generated UCS root certificate).
As such you can install a second certificate for public facing services:

># ucr search ssl/certificate
>apache2/ssl/certificate: <empty>
> The absolute path to the SSL certificate file for mod_ssl. The certificate needs to be PEM-encoded. If the variable is unset, the certificate from the UCS CA is used (/etc/univention/ssl/FQDN/cert.pem).
>
>apache2/ssl/certificatechain: <empty>
> The path to a file containing CA certificates. They are sent to the client browser of a user, so that a certificate for authentication the user can be selected, which is issued by one of the CAs.
>
>mail/postfix/ssl/certificate: <empty>
> The full path name of the SSL certificate that is used by Postfix to establish SSL connections. If the variable is unset, the host certificate is used.

If you need SAN you can always create your own 'request' file or use `UCRV ssl/host/extensions`

*** This bug has been marked as a duplicate of bug 44469 ***