Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
ejbca_tls [2024/03/21 15:23] – [Par appel API] nekanejbca_tls [2024/03/25 16:07] (Version actuelle) – [Par appel API] nekan
Ligne 239: Ligne 239:
                 --cert "$ScriptAuthentication" \                 --cert "$ScriptAuthentication" \
                 --header "accept: application/json" \                 --header "accept: application/json" \
-                "https://${AuthorityAddress}/ejbca/ejbca-rest-api/v1/certificate/CN%3D${1}%2CO%3D${2}%2CC%3DFR/${3}/revocationstatus" \+                "https://${AuthorityAddress}/ejbca/ejbca-rest-api/v1/certificate/CN%3D${1}%2CO%3D${2//[^[:alnum:]]/}%2CC%3DFR/${3}/revocationstatus" \
                 | jq .                 | jq .
 } }
Ligne 249: Ligne 249:
                 --cert "$ScriptAuthentication" \                 --cert "$ScriptAuthentication" \
                 --header "accept: application/json" \                 --header "accept: application/json" \
-                "https://${AuthorityAddress}/ejbca/ejbca-rest-api/v1/certificate/CN%3D${1}%2CO%3D${2}%2CC%3DFR/${3}/revoke?reason=${4}" \+                "https://${AuthorityAddress}/ejbca/ejbca-rest-api/v1/certificate/CN%3D${1}%2CO%3D${2//[^[:alnum:]]/}%2CC%3DFR/${3}/revoke?reason=${4}" \
                 | jq .                 | jq .
 } }
  • ejbca_tls.1711030997.txt.gz
  • Dernière modification : 2024/03/21 15:23
  • de nekan