I hereby claim:
- I am stylersnico on github.
- I am nicolassimond (https://keybase.io/nicolassimond) on keybase.
- I have a public key ASDcNH4kRlQZA6gzyE7FhnzFfake5aYAT0Cf1tU0M_GD5go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!doctype html> | |
<title>Maintenance en cours ...</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
Param ( | |
[string]$SubjectName = $env:COMPUTERNAME, | |
[int]$CertValidityDays = 365, | |
$CreateSelfSignedCert = $true | |
) | |
#region function defs | |
Function New-LegacySelfSignedCert | |
{ |
"C:\Let's Encrypt\letsencrypt.exe" --renew --baseuri "https://acme-v01.api.letsencrypt.org/" | |
powershell -File "C:\Let's Encrypt\ExchangeLetsEncrypt.ps1" -CertificateImport "C:\ProgramData\win-acme\httpsacme-v01.api.letsencrypt.org\1-all.pfx" -ServerName tap-ms01.tap.ovh" |
$vol = get-wmiobject -Class Win32_Volume | where{$_.Name -eq 'B:\'} | |
$vol.DriveLetter = $null | |
$vol.Put() | |
$vol.Dismount($false, $false) |