Digital Certificate to receive HTTPS requests via AJAX

Asked

Viewed 275 times

1

Does anyone know what kind of digital certificate is needed to use on mormot to receive requests AJAX via HTTPS?

Also, how to install it in windows?

If you have an example (preferably using Delphi Tokyo + Mormot) thanks.

1 answer

0

You need an application certificate or server certificate first.

Then, to install, you just need to indicate in the SSL/TLS configuration file of your application server that you are using HTTPS, usually it is necessary to redirect the HTTP requests from port 80 to HTTPS on port 443; in addition, you must indicate the path where you stored the private key of your certificate, indicate the path where you stored the certificate on the server and the chain of your certificate (chain of certification authorities that sign each certificate in each chain, including their).

I have no idea how to do in Delphi, only in Apache and JBOSS, but in the mORMot documentation has something about this.

"What I hear, I forget. What I see, I remember. What I do, I understand." Confucius

Find out more about it.

Remember that the digital certificate protects against attacks of the type man-in-the-Middle, however, it does not encrypt data, it only guarantees authenticity, integrity and legal validity. See the Provisional Measure 2200-2/2001.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.