Running a Spring Boot 3 API Locally on HTTPS with Source Code

Опубликовано: 14 Февраль 2026
на канале: PJL Software
133
2

In this code review, we'll review how we run our Spring Boot 3 API locally on HTTPS.

Most web browsers today will force you to use HTTPS making it impossible to develop a back-end API locally without it. In this video, we take a Spring Boot controller that runs on HTTP, and refactor the application to enable SSL and HTTPS locally -- in only a few keystrokes (bash scripting to the rescue!).

Code reviewed in this video: https://github.com/pjl-software/full-...

Chapters
0:00 - Accessing the Code on GitHub
0:40 - The Problem with the Code
1:30 - The Enable HTTPS / Generate Cert Script
3:30 - Minor Code Changes
4:33 - SSL Properties File Changes
5:42 - Unable to Start App on HTTPS
6:20 - Running the SSL Script
11:23 - Running the App Successfully on HTTPS