name: Enable OCSP
testcases:
- name: create_ocsp_profile
  steps:
  - type: pf_api_radiusd_ocsp_profiles_create
    id: "{{.wired_dot1x_eap_tls_pki.ocsp.id}}"
    ocsp_enable: "{{.wired_dot1x_eap_tls_pki.ocsp.enable}}"
    ocsp_url: "{{.wired_dot1x_eap_tls_pki.ocsp.url}}"        
    ocsp_override_cert_url: "{{.wired_dot1x_eap_tls_pki.ocsp.override_cert_url}}"
    ocsp_softfail: "{{.wired_dot1x_eap_tls_pki.ocsp.softfail}}"
    ocsp_timeout: "{{.wired_dot1x_eap_tls_pki.ocsp.timeout}}"
    ocsp_use_nonce: "{{.wired_dot1x_eap_tls_pki.ocsp.use_nonce}}"

- name: update_tls_common_profile
  steps:
  - type: pf_api_radiusd_tls_profile_patch
    id: 'tls-common'
    ocsp_id: "{{.wired_dot1x_eap_tls_pki.ocsp.id}}"
