laravel-lets-encrypt icon indicating copy to clipboard operation
laravel-lets-encrypt copied to clipboard

[Feature Request] Subject Alternative Names

Open Muffinman opened this issue 2 years ago • 2 comments

Hi,

I'm wondering if this package supports sending SubjectAlternativeNames to LetsEncrypt / AcmePHP?

I can see that AcmePHP itself does have support for them, but I couldn't see any obvious references in this package.

EDIT: Our use case is for a multi-tenant Laravel application. we want one vhost per tenant rather than one per domain, so it makes sense to have a single SSL cert with all their active domains contained inside.

Muffinman avatar Aug 03 '22 09:08 Muffinman

It currently does not support SubjectAlternativeNames but this should be rather easy to implement.

I can probably release this in a couple of days.

Daanra avatar Aug 05 '22 11:08 Daanra

That sounds excellent! Happy to send a PR or collaborate on this if it makes sense.

I did take a look but I couldn't see any way of doing it without breaking changes. I think it will need new parameters adding to methods.

Muffinman avatar Aug 10 '22 14:08 Muffinman

Feature added to v0.5.0

Daanra avatar Sep 16 '22 11:09 Daanra