티스토리 뷰
[HTTPS] mkcert를 활용한 localhost 환경에서 SSL 설정
chocolatey 설치
# Get-ExecutionPolicy 실행
$ Get-ExecutionPolicy
# Restricted라면 AllSigned나 Bypass로 설정
# ExcutionPolicy를 AllSigned로 설정
$ Set-ExecutionPolicy AllSigned
# ExcutionPolicy를 Bypass로 설정
$ Set-ExecutionPolicy Bypass -Scope Process
# 설치!
$ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# 확인
$ choco
mkcert 설치
choco install mkcert
인증서 생성
mkcert localhost domain2.localhost
Created a new certificate valid for the following names 📜
- "localhost"
- "domain2.localhost"
The certificate is at "./localhost+1.pem" and the key at "./localhost+1-key.pem"
인증서 발급 받기 위한 mkcert
mkcert 라는 프로그램으로 로컬 환경(내 컴퓨터) 에서 신뢰할 수 있는 인증서를 만들 수 있는 간단한 도구이다. CA(인증기관)의 인증서를 발급받아 자체적으로 관리하는 것은 복잡한 명령, 전문 지
pstudio411.tistory.com
https://dev.to/everylearning/localhost-ssl-55oe
localhost에 인증서(SSL) 설정하기
로컬에서 개발을 진행할 때 SSL문제로 테스트에 문제가 되는 경우가 있습니다. 그래서 로컬에도 SSL을 적용할 수 있는 방법들이 추가되고 있습니다. ...
dev.to
'Server > HTTPS (SSL|TLS)' 카테고리의 다른 글
[SSL] 우분투에서 certbot 설치 및 nginx 연동 (0) | 2025.01.09 |
---|
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- dotnet core
- 전자정부
- express
- egov
- DART
- ubuntu
- 자바
- Spring
- CentOS
- Windows
- Entity Framework Core
- .NET Core
- high1
- jQuery
- MariaDB
- Java
- 이클립스
- MySQL
- asp.net core
- c#
- egoverment
- Linux
- JSP
- Fedora
- 스프링
- Eclipse
- 하이원
- Flutter
- eGovFrame
- php
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함