On GitHub, you can find the source code for the application we are building in this tutorial. For more information about this utility, you can read the official documentation. Note that if you are on Windows, you might need to launch it from the \bin folder. To check it, try running the command keytool -help from your Terminal prompt. Keytool is a certificate management utility provided together with the JDK, so if you have the JDK installed, you should already have keytool available. Throughout this tutorial, I'll use the following technologies and tools: If you have already got an SSL certificate, you can follow the step 1b. If you don't already have a certificate, follow the step 1a. Distribute the SSL certificate to clients.In either case, we're going to see how to enable HTTPS in a Spring Boot application. In production, we should use a certificate issued by a trusted Certificate Authority (CA). Its use is intended just for development and testing purposes. We can generate an SSL certificate ourselves (self-signed certificate). Setting up HTTPS for Spring Boot requires two steps:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |