1
0

ocsp.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: OCSP Test
  2. # START OF COMMON SECTION
  3. on:
  4. push:
  5. branches: [ 'master', 'main', 'release/**' ]
  6. pull_request:
  7. branches: [ '*' ]
  8. concurrency:
  9. group: ${{ github.workflow }}-${{ github.ref }}
  10. cancel-in-progress: true
  11. # END OF COMMON SECTION
  12. jobs:
  13. ocsp_stapling:
  14. name: ocsp stapling
  15. runs-on: ubuntu-latest
  16. timeout-minutes: 10
  17. steps:
  18. - name: Checkout wolfSSL
  19. uses: actions/checkout@v4
  20. - name: Build wolfSSL
  21. run: autoreconf -ivf && ./configure --enable-ocsp --enable-ocspstapling && make
  22. - name: Start OCSP responder 1
  23. run: openssl ocsp -port 22221 -ndays 1000 -index certs/ocsp/index-intermediate1-ca-issued-certs.txt -rsigner certs/ocsp/ocsp-responder-cert.pem -rkey certs/ocsp/ocsp-responder-key.pem -CA certs/ocsp/intermediate1-ca-cert.pem &
  24. - name: Start OCSP responder 2
  25. run: openssl ocsp -port 22220 -ndays 1000 -index certs/ocsp/index-ca-and-intermediate-cas.txt -rsigner certs/ocsp/ocsp-responder-cert.pem -rkey certs/ocsp/ocsp-responder-key.pem -CA certs/ocsp/root-ca-cert.pem &
  26. - name: Start TLS server
  27. run: ./examples/server/server -p 11111 -c ./certs/ocsp/server1-cert.pem -k ./certs/ocsp/server1-key.pem -d &
  28. - name: Test Look Up
  29. run: ./examples/client/client -A ./certs/ocsp/root-ca-cert.pem -o