2
0

ocsp.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. if: github.repository_owner == 'wolfssl'
  16. runs-on: ubuntu-latest
  17. timeout-minutes: 10
  18. steps:
  19. - name: Checkout wolfSSL
  20. uses: actions/checkout@v4
  21. - name: Build wolfSSL
  22. run: autoreconf -ivf && ./configure --enable-ocsp --enable-ocspstapling && make
  23. - name: Start OCSP responder 1
  24. 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 &
  25. - name: Start OCSP responder 2
  26. 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 &
  27. - name: Start TLS server
  28. run: ./examples/server/server -p 11111 -c ./certs/ocsp/server1-cert.pem -k ./certs/ocsp/server1-key.pem -d &
  29. - name: Test Look Up
  30. run: ./examples/client/client -A ./certs/ocsp/root-ca-cert.pem -o