mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 04:00:03 +01:00
udate expiration time from 14 to 30 days
This commit is contained in:
parent
8e95c1c19b
commit
414d05079a
@ -514,7 +514,7 @@ namespace ACMEv2
|
|||||||
var cert = new X509Certificate2(Encoding.ASCII.GetBytes(cache.Cert));
|
var cert = new X509Certificate2(Encoding.ASCII.GetBytes(cache.Cert));
|
||||||
|
|
||||||
// if it is about to expire, we need to refresh
|
// if it is about to expire, we need to refresh
|
||||||
if ((cert.NotAfter - DateTime.UtcNow).TotalDays < 14)
|
if ((cert.NotAfter - DateTime.UtcNow).TotalDays < 30)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var rsa = new RSACryptoServiceProvider(4096);
|
var rsa = new RSACryptoServiceProvider(4096);
|
||||||
|
|||||||
@ -23,8 +23,12 @@
|
|||||||
"hosts": [
|
"hosts": [
|
||||||
"maks-it.com",
|
"maks-it.com",
|
||||||
"www.maks-it.com",
|
"www.maks-it.com",
|
||||||
|
"it.maks-it.com",
|
||||||
|
"www.it.maks-it.com",
|
||||||
|
"ru.maks-it.com",
|
||||||
|
"www.ru.maks-it.com",
|
||||||
"api.maks-it.com",
|
"api.maks-it.com",
|
||||||
"www.api.maks-it.com",
|
"www.api.maks-it.com"
|
||||||
],
|
],
|
||||||
"challenge": "http-01"
|
"challenge": "http-01"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user