J
J
jeruthadam2019-06-16 15:20:59
Nginx
jeruthadam, 2019-06-16 15:20:59

How to automatically issue SSL to new domains?

I am making an application with the ability for the user to publish his site and connect his domain. With the connection of the domain and the return of data to nginx, everything seems to be clear so far, but it is not clear what to do with SSL in this case? At the moment, I just managed with a config where I catch all requests, and then I check whether this host is allowed in the database and give the data. It is not clear how to embed SSL here, because there you need to know in advance the list of sites, which I can’t know in any way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-06-16
@ky0

And what is the difficulty? If you have automated creation of configs for nginx, the next step is to generate a certificate with some certbot`th, that's all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question