ocsp.yml 1.1 KB

12345678910111213141516171819202122232425262728
  1. name: OCSP Test
  2. on:
  3. workflow_call:
  4. jobs:
  5. ocsp_stapling:
  6. name: ocsp stapling
  7. runs-on: ubuntu-latest
  8. timeout-minutes: 10
  9. steps:
  10. - name: Checkout wolfSSL
  11. uses: actions/checkout@v4
  12. - name: Build wolfSSL
  13. run: autoreconf -ivf && ./configure --enable-ocsp --enable-ocspstapling && make
  14. - name: Start OCSP responder 1
  15. 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 &
  16. - name: Start OCSP responder 2
  17. 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 &
  18. - name: Start TLS server
  19. run: ./examples/server/server -p 11111 -c ./certs/ocsp/server1-cert.pem -k ./certs/ocsp/server1-key.pem -d &
  20. - name: Test Look Up
  21. run: ./examples/client/client -A ./certs/ocsp/root-ca-cert.pem -o