D
D
Dauren S2021-02-01 13:49:49
Digital certificates
Dauren S, 2021-02-01 13:49:49

Do I need to buy an ssl certificate for a subdomain?

If the front is on site.ru and the back is on api.site.ru
I want to put an ssl certificate on the front
Exchange through the rest api
, do I need to put on the back too?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dauren S, 2021-02-05
@dauren101

Just change api to https. For any resource working on https and addressing somewhere on http, the browser will swear

K
ky0, 2021-02-01
@ky0

If data transfer is exclusively within your infrastructure (between front and back over the local network) - optional. If requests are sent to the API from somewhere outside (including directly from the client's browser) - yes, it is necessary.
But you need to understand that no one is forcing you to buy , unless you are one of "these".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question