Regenerate SSL certificate with modified auto.openssl.conf
I'm doing something a bit different so it might not be supported, I'm trying to specify an exact domain in the auto.openssl.conf so it's picked up as a SAN (Subject Alternative Name).
I've already added my own permanent conf in apache's sites-enabled, but I'm having trouble generating a proper certificate was hoping there might be a way to just tack on a custom domain in the auto.openssl.conf.
Let me know if I can further clarify, and thank you for any help.
Ended up following the instructions here on how to generate a new certificate, was able to copy and paste using WSL
Then just modified my custom conf file in laragon/bin/apache/sites-enabled to use the new certificate.
Laragon does it's job great alongside of now hosting my custom modifications. Thanks!
@gjrdiesel : Glad that you found your solution.
Here is another
Laragon-waywhich may be helpful to you:
- Open the template file: "C:\laragon\usr\tpl\openssl.conf.tpl"
- Add your custom domain below
DNS.2 = my-domain
That's all. Laragon will auto detect and generate proper
auto.openssl.confwhen you reload.
Hope it helps.
I figured there was a way just couldn't put the pieces together, thank you for listing that though.