Skip to content

Commit 360183b

Browse files
committed
Tests: restore default ACME profile configuration.
Starting from v2.7.0, pebble ignores certificateValidityPeriod and uses the validityPeriod from the default profie instead. The profile was removed during the review of #16, because I assumed it was redundant and the tests (with pebble v2.6.0) confirmed that.
1 parent b0fe36c commit 360183b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

t/lib/Test/Nginx/ACME.pm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ sub new {
5151
"httpPort": $http_port,
5252
"tlsPort": $tls_port,
5353
"ocspResponderURL": "",
54-
"certificateValidityPeriod": $validity
54+
"certificateValidityPeriod": $validity,
55+
"profiles": {
56+
"default": {
57+
"description": "The default profile",
58+
"validityPeriod": $validity
59+
}
60+
}
5561
}
5662
}
5763
EOF

0 commit comments

Comments
 (0)