diff options
Diffstat (limited to 'src/v1.erl')
-rw-r--r-- | src/v1.erl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -120,8 +120,8 @@ add_chain(Input, Type) -> html("add-chain: invalid base64-encoded chain: ", [ChainBase64]); [LeafCert | CertChain] -> - case x509:valid_chain_p(catlfish:known_roots(), - [LeafCert|CertChain]) of + case x509:normalise_chain(catlfish:known_roots(), + [LeafCert|CertChain]) of {ok, [Leaf | Chain]} -> lager:info("adding ~p cert ~p", [Type, x509:cert_string(LeafCert)]), |