diff --git a/src/acme/types.rs b/src/acme/types.rs index 7b9eec3..7889e59 100644 --- a/src/acme/types.rs +++ b/src/acme/types.rs @@ -36,10 +36,10 @@ pub struct Directory { pub new_order: Uri, #[serde(default, with = "http_serde::option::uri")] pub new_authz: Option, - #[serde(with = "http_serde::uri")] - pub revoke_cert: Uri, - #[serde(with = "http_serde::uri")] - pub key_change: Uri, + #[serde(default, with = "http_serde::option::uri")] + pub revoke_cert: Option, + #[serde(default, with = "http_serde::option::uri")] + pub key_change: Option, #[serde(default)] pub meta: DirectoryMetadata, }