From 5451bb1dd5a831704c9ec2d7eda940c4c3496d43 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Tue, 20 Aug 2019 13:50:05 +0200 Subject: public_key: Use another time in test certificates Some OpenSSL versions has problems handling the current selected time causing interop tests to fail. --- lib/public_key/src/pubkey_cert.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public_key/src/pubkey_cert.erl b/lib/public_key/src/pubkey_cert.erl index 12c61e158f..d85f322918 100644 --- a/lib/public_key/src/pubkey_cert.erl +++ b/lib/public_key/src/pubkey_cert.erl @@ -1169,7 +1169,7 @@ validity(Opts) -> Format = fun({Y,M,D}) -> lists:flatten( - io_lib:format("~4..0w~2..0w~2..0w000000Z",[Y,M,D])) + io_lib:format("~4..0w~2..0w~2..0w130000Z",[Y,M,D])) end, #'Validity'{notBefore={generalTime, Format(DefFrom)}, notAfter ={generalTime, Format(DefTo)}}. -- cgit v1.2.3