Skip to content

Commit c9172d7

Browse files
committed
bat will show if errors, certificates ignored
1 parent 1a1f72f commit c9172d7

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pem

‎generate_certificate.bat‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
openssl-3\x64\bin\openssl.exe req -x509 -newkey rsa:4096 -keyout https_server\key.pem -nodes -out https_server\cert.pem -sha256 -days 365 -config "openssl-3\ssl\openssl.cnf" -subj "/C=US/ST=Oregon/L=Portland/O=Company Name/OU=Org/CN=www.example.com"
1+
openssl-3\x64\bin\openssl.exe req -x509 -newkey rsa:4096 -keyout https_server\key.pem -nodes -out https_server\cert.pem -sha256 -days 365 -config "openssl-3\ssl\openssl.cnf" -subj "/C=US/ST=Oregon/L=Portland/O=Company Name/OU=Org/CN=www.example.com"
2+
3+
set /p DUMMY=Hit ENTER to continue...

‎run_server.bat‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
REM SET PATH=%PATH%;*\Anaconda3\Library\bin\
2-
REM *\Anaconda3\python.exe https_server\file_server.py
3-
python.exe https_server\file_server.py
1+
REM set PYTHON_DIR=*
2+
REM OpenSSL fix for Anacodna
3+
REM SET PATH=%PATH%;%PYTHON_DIR%\Library\bin\
4+
REM %PYTHON_DIR%\python.exe" https_server\file_server.py
5+
6+
python.exe https_server\file_server.py
7+
8+
set /p DUMMY=Hit ENTER to continue...

0 commit comments

Comments
 (0)