File: runserver.bat

package info (click to toggle)
libest 3.2.0%2Bds-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,792 kB
  • sloc: ansic: 60,980; java: 12,082; sh: 4,956; python: 4,474; xml: 385; makefile: 290
file content (25 lines) | stat: -rwxr-xr-x 956 bytes parent folder | download
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
:: runserver.bat is a direct port of runserver.sh

:: Make sure the est.dll & openSSL dlls are in the %PATH%

@echo off
set EST_TRUSTED_CERTS=.\trustedcerts.crt

::set EST_TRUSTED_CERTS=.\estCA\cacertandcrl.crt

set EST_CACERTS_RESP=.\estCA\cacert.crt
set EST_OPENSSL_CACONFIG=.\estExampleCA.cnf

::set EST_CSR_ATTR=MGwGBysGAQEBARYwIgYDiDcBMRsTGVBhcnNlIFNFVCBhcyAyLjk5OS4xIGRhdGEwJwYDiDcCMSAGA4g3AxMZUGFyc2UgU0VUIGFzIDIuOTk5LjIgZGF0YQYJKyQDAwIIAQELBglghkgBZQMEAgI=

:: estserver.exe is placed by gradle under the example\build\exe\estserver 
:: directory. If it's not present here or it doesn't match the gradle
:: version then it is copied over.
set GRADLE_DIR=..\build\exe\estserver
FC /b %GRADLE_DIR%\estserver.exe .\estserver.exe > NUL
if %ERRORLEVEL% neq 0 (
    copy /b /y /v %GRADLE_DIR%\estserver.exe . > NUL
)

.\estserver -c estCA\private\estservercertandkey.pem^
 -k estCA\private\estservercertandkey.pem -r estrealm -v