CertificateValidation/Microsoft.AzureStack.PublicCertificateRequest.Internal.psm1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 |
function Set-CertificateSubject { <# .SYNOPSIS Set Distinguished name for certificate request .DESCRIPTION Checks if Common Name is present and honours CN in distinguished name. If common name is not present, it preprends the target RP hostname to the distinguished name as a common name value. #> param ( [System.Security.Cryptography.X509Certificates.X500DistinguishedName]$distinguishedName, [System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags]$distinguishedNameFlag = 'UseUTF8Encoding', [string]$commonName ) try { $thisFunction = $MyInvocation.MyCommand.Name if ($distinguishedName) { $distinguishedNameExpanded = $distinguishedName.Format($true) $distinguishedNameString = $distinguishedName.Format($false) Write-AzsReadinessLog -Message ("User DN String is: {0}, flag: {1}" -f $distinguishedNameString,$distinguishedNameFlag) -Type Info -Function $thisFunction $commonNamePair = $distinguishedNameExpanded.trim() -split "`n" | Where-Object { $PSITEM -imatch 'cn='} } if ($commonNamePair) { #$distinguishedNameString = $distinguishedName.Name.replace($commonNamePair,"CN=$commonName") Write-AzsReadinessLog -Message ("User DN String contains common name, no change: {0}" -f $distinguishedNameString) -Type Info -Function $thisFunction } else { $distinguishedNameString = "CN={0}" -f (($commonName,$distinguishedName.Name) -join ',') Write-AzsReadinessLog -Message ("Calculated DN String is: {0}, flag: {1}." -f $distinguishedNameString,$distinguishedNameFlag) -Type Info -Function $thisFunction } return [System.Security.Cryptography.X509Certificates.X500DistinguishedName]::new($distinguishedNameString,[System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags]::UseUTF8Encoding) } catch { Write-AzsReadinessLog -Message ("Setting Certificate Subject failed with exception: {0}" -f $_.exception.message) -Type Error -Function $thisFunction -toScreen break } } function Get-CSRFileName { param ( [array]$commonName ) $filename = "{0}_certrequest.req" -f $commonName[0].Replace('.', '_').Replace('*', 'wildcard') return $filename } function Write-AzsCertificateRequestFileInternal { <# .SYNOPSIS Internal function to call CSR using the standard Azure Stack request template. .DESCRIPTION Imports the standard Azure Stack certificate request template replaces deployment specific data such as subject and SAN. Detects if commas are used in the subject name and thus requiring a different X500NameFlag .EXAMPLE Write-AzsCertificateRequestFileInternal -subjectAltNames $completeSANs -subject $subject -KeyLength $KeyLength -HashAlgorithm $HashAlgorithm -OutputRequestPath $OutputRequestPath .INPUTS subjectAltNames - string - SubjectAlternativeNames subject - ordereddictionary - hashtable of deployment subject OutputRequestPath - string - path (parent must be valid) to where the CSRs should land. KeyLength - int - Defines the length of the public and private key HashAlgorithm - string - Hash Algorithm to be used for this request. .OUTPUTS Encoded CSR file - This is the file or content that should be presented to a CA to request certificates Clear Text INF file - this is a reference file to help debugging. Certreq log file - the output of the certreq.exe command, later streamed into overall AzsCertificateRequest.log .NOTES #> [cmdletbinding()] param ( [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [string]$subject, [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [string[]]$subjectAltNames, [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [ValidateScript( {Test-Path (Split-Path $_ -parent) -PathType Container})] $OutputRequestPath, [Parameter(Mandatory = $false)] [ValidateSet(2048, 4096, 8192)] [int]$KeyLength = 2048, [Parameter(Mandatory = $false)] [ValidateSet('SHA256', 'SHA384', 'SHA512')] [string]$HashAlgorithm = 'SHA256', [Parameter(Mandatory = $false)] [string[]]$KeyUsage = @('DigitalSignature','KeyEncipherment'), [Parameter(Mandatory = $false)] [string[]]$KeyUsageEKUExtension = @('Server Authentication','Client Authentication'), [Parameter(Mandatory = $false)] [System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags]$DistinguishedNameFlag = $null ) $thisFunction = $MyInvocation.MyCommand.Name try { # translate DistinguishNameFlag $x500flagValue = switch ($DistinguishedNameFlag) { 'DoNotUsePlusSign' {'0x20000000'} 'DoNotUseQuotes' {'0x10000000'} 'ForceUTF8Encoding'{'0x80000'} 'None' {'0'} 'Reversed' {'0x2000000'} 'UseCommas' {'0x4000000'} 'UseNewLines' {'0x8000000'} 'UseSemicolons' {'0x40000000'} 'UseT61Encoding' {'0x20000'} 'UseUTF8Encoding' {'0x40000'} 'Default' {'0'} } # if name flag isn't 'none' write the flag in the inf file, otherwise write nothing. if ($x500flagValue -ne '0') { $X500NameFlags = "X500NameFlags = $x500flagValue`n`r" } # Get Key Usages Strings $keyUsageStrings = Format-KeyUsage -KeyUsage $KeyUsage # Get Enhanced Key Usage strings $EKUInfStrings = Format-EnhancedKeyUsage -EKUExtension $KeyUsageEKUExtension # Get SAN DNS names formatted $sanString = Format-SubjectAlternativeNames -subjectAltNames $subjectAltNames # Get INF Template and replace placeholders with user data $data = Import-PowerShellDataFile $PSScriptRoot\Microsoft.AzureStack.PublicCertificateRequestData.psd1 $infTemplate = $data.requestINF $requestINF = $infTemplate.Replace('[[SubjectString]]', $subject.replace('"','')) $requestINF = $requestINF.Replace('[[KeyUsage]]',$keyUsageStrings) $requestINF = $requestINF.Replace('[[X500]]', $X500NameFlags) $requestINF = $requestINF.Replace('[[SANStrings]]', $sanString) $requestINF = $requestINF.Replace('[[KeyLength]]', $KeyLength) $requestINF = $requestINF.Replace('[[HashAlgorithm]]', $HashAlgorithm) $requestINF = $requestINF.Replace('[[EnhancedKeyStrings]]', $EKUInfStrings.Strings) $requestINF = $requestINF.Replace('[[EnhancedKeyExtension]]', $EKUInfStrings.Extensions) <# Create filepaths for inf, req and log as [host|wildcard].region.external.fqdn-CertRequest- $infFilePath = "{0}\{1}_CertRequest_{2}_ClearTextDoNotUse.inf" -f $OutputRequestPath, $subjectAltNames[0].Replace('.', '_').Replace('*', 'wildcard'), (Get-Date -f yyyyMMddHHmmss) Write-AzsReadinessLog -Message ("Setting infFilePath to {0}" -f $infFilePath) -Type Info -Function $thisFunction $csrFilePath = $infFilePath.Replace('_ClearTextDoNotUse', '').Replace('inf', 'req') $certReqLogPath = $csrFilePath.Replace('.req', '.log') #> $CertReqFilePaths = Get-CertReqFilePaths -filePath $OutputRequestPath $infFilePath = $CertReqFilePaths.infFilePath $csrFilePath = $CertReqFilePaths.csrFilePath $certReqLogPath = $CertReqFilePaths.certReqLogPath # Create and print Inf template $requestINF | Out-File $infFilePath -Force # Create encoded cert request Write-AzsReadinessLog -Message ("Setting csrFilePath to {0}" -f $csrFilePath) -Type Info -Function $thisFunction $cmd = "-new $infFilePath $csrFilePath" $process = Start-Process -FilePath certreq.exe ` -ArgumentList $cmd ` -WindowStyle Hidden ` -PassThru ` -Wait ` -RedirectStandardOutput $certReqLogPath if ($process.ExitCode -ne 0) { $certReqLogContent = Get-Content $certReqLogPath throw $certReqLogContent } Write-AzsReadinessLog -Message ("CSR generating for following SAN(s): {0}" -f ($subjectAltNames -join ',')) -Type Info -Function $thisFunction -toScreen Write-AzsReadinessLog -Message ("Present this CSR to your Certificate Authority for Certificate Generation: {0}" -f $csrFilePath) -Type Info -Function $thisFunction -toScreen } catch { Write-AzsReadinessLog -Message ("CSR generation failed with: {0}" -f $_.exception) -Type Error -Function $thisFunction throw ("CSR generation failed with: {0}" -f $_.exception) } finally { # Move inf file to child directory called inf $infDest = ("{0}\{1}" -f (Split-Path $infFilePath -parent), 'Inf') if (-not (Test-Path $infDest)) {$null = New-Item -path $infDest -ItemType Directory -Force} Move-Item -Path $infFilePath -Destination $infDest -Force -ErrorAction SilentlyContinue # Move log content to parent log and clean up log file. $certReqLogContent = Get-Content $certReqLogPath -ErrorAction SilentlyContinue | ForEach-Object {if ($_) {$_}} if (-not $certReqLogContent) {$certReqLogContent = '[missing]'} Write-AzsReadinessLog -Message ("Certreq.exe output: {0}" -f ($certReqLogContent -join '. ')) -Type Info -Function $thisFunction -toScreen Remove-item $certReqLogPath -Force } } function Format-KeyUsage { param([string[]]$KeyUsage) $thisFunction = $MyInvocation.MyCommand.Name try { Write-AzsReadinessLog -Message ("Formating key {0} usage(s)." -f $KeyUsage.Length) -Type Info -Function $thisFunction $KeyUsageOutput = for ($i = 0; $i -lt $KeyUsage.Length; $i++) { # convert the value Write-AzsReadinessLog -Message ("Formating Key usage: {0}" -f $KeyUsage[$i]) -Type Info -Function $thisFunction $keyUsageValue = switch ($KeyUsage[$i]) { digitalSignature {'CERT_DIGITAL_SIGNATURE_KEY_USAGE'} nonRepudiation {'CERT_NON_REPUDIATION_KEY_USAGE'} keyEncipherment {'CERT_KEY_ENCIPHERMENT_KEY_USAGE'} dataEncipherment {'CERT_DATA_ENCIPHERMENT_KEY_USAGE'} keyAgreement {'CERT_KEY_AGREEMENT_KEY_USAGE'} keyCertSign {'CERT_KEY_CERT_SIGN_KEY_USAGE'} cRLSign {'CERT_CRL_SIGN_KEY_USAGE'} encipherOnly {'CERT_ENCIPHER_ONLY_KEY_USAGE'} decipherOnly {'CERT_DECIPHER_ONLY_KEY_USAGE'} } "`"$keyUsageValue`"" } $keyUsageString = $KeyUsageOutput -join '|' $keyUsageString } catch { Write-AzsReadinessLog -Message ("Formatting key usage failed with exception: {0}" -f $_.exception) -Type Error -Function $thisFunction break } } function Format-EnhancedKeyUsage { <# .SYNOPSIS Crafts neccessary data for certificate request file .DESCRIPTION Creates strings section and extensions section data e.g. [Strings] szOID_SUBJECT_ALT_NAME2 = "2.5.29.17" szOID_ENHANCED_KEY_USAGE = "2.5.29.37" szOID_PKIX_KP_SERVER_AUTH = "1.3.6.1.5.5.7.3.1" szOID_PKIX_KP_CLIENT_AUTH = "1.3.6.1.5.5.7.3.2" [Extensions] %szOID_SUBJECT_ALT_NAME2% = "{text}[[SANStrings]]" %szOID_ENHANCED_KEY_USAGE% = "{text}%szOID_PKIX_KP_SERVER_AUTH%,%szOID_PKIX_KP_CLIENT_AUTH%" #> param ([string[]]$EKUExtension) $thisFunction = $MyInvocation.MyCommand.Name try { $dataFile = Import-PowerShellDataFile $PSScriptRoot\Microsoft.AzureStack.CertificateConfig.psd1 $EKUHashtable = $dataFile.CertificateAttributes.EnhancedKeyUsage Write-AzsReadinessLog -Message ("Formating Enhanced Key usages: {0}" -f ($EKUExtension -join ',')) -Type Info -Function $thisFunction if ($null -ne $EKUExtension) { $enhancedStrings = @() $enhancedExtensions = @() $enhancedStrings += "szOID_ENHANCED_KEY_USAGE = `"2.5.29.37`"" foreach ($eku in $EKUExtension) { Write-AzsReadinessLog -Message ("Formating Key usage: {0}" -f $eku) -Type Info -Function $thisFunction $ekuData = $EKUHashtable[$eku] # Construct string format $ekuString = "{0} = `"{1}`"" -f $ekuData.GetEnumerator().Name,$ekuData[$ekuData.GetEnumerator().Name] Write-AzsReadinessLog -Message ("EKU String: {0}" -f $ekuString) -Type Info -Function $thisFunction # Append string section with EKU and OID $enhancedStrings += $ekuString.replace('XCN_','sz') Write-AzsReadinessLog -Message ("Enhanced String: {0}" -f $enhancedStrings) -Type Info -Function $thisFunction # Append Extension section with EKU and OID $enhancedExtensions += $ekuData.GetEnumerator().Name.replace('XCN_','sz') Write-AzsReadinessLog -Message ("EKU Extension: {0}" -f $enhancedExtensions) -Type Info -Function $thisFunction } $enhancedExtensionString += "%szOID_ENHANCED_KEY_USAGE% = `"{{text}}%{0}%`"" -f ($enhancedExtensions -join '%,%') } @{Strings = ($enhancedStrings -join "`n"); Extensions = $enhancedExtensionString} } Catch { Write-AzsReadinessLog -Message ("Formatting key usage failed with exception: {0}" -f $_.exception) -Type Error -Function $thisFunction break } } function Format-SubjectAlternativeNames { <# .SYNOPSIS Formats array of DNS names for SAN .DESCRIPTION Creates neccessary string for SAN in certificate request inf config. %szOID_SUBJECT_ALT_NAME2% = "{text}dns=*.queue.east.azurestack.contoso.com" #> param ([string[]]$subjectAltNames) $thisFunction = $MyInvocation.MyCommand.Name try { $sanStrings = @() foreach ($san in $subjectAltNames) { Write-AzsReadinessLog -Message ("Formatting Subject Alternative DNS Names : {0}" -f $san) -Type Info -Function $thisFunction $sanStrings += "dns={0}" -f $san } $sanStrings -join "&" } catch { Write-AzsReadinessLog -Message ("Formatting Subject Alternative DNS Names failed with exception: {0}" -f $_.exception) -Type Error -Function $thisFunction break } } function Test-DistinguishedName { <# .SYNOPSIS Ensure user specified distinguished name is valid. .DESCRIPTION Ensure the distringuished name has the rght number of rdn when it is formatted .NOTES General notes #> param ( [System.Security.Cryptography.X509Certificates.X500DistinguishedName]$DistinguishedName, [System.Security.Cryptography.X509Certificates.X500DistinguishedNameFlags]$DistinguishedNameFlag ) $thisFunction = $MyInvocation.MyCommand.Name try { $dn = [Security.Cryptography.X509Certificates.X500DistinguishedName]::new($distinguishedName.Name,$DistinguishedNameFlag) $rdnCount = $distinguishedName.Name.ToCharArray() | Group-Object -NoElement | Where-Object Name -eq '=' | Select-Object -ExpandProperty Count $dnFormat = $dn.Format($true) $formatLineCount = $dnFormat | Measure-Object -Line | Select-Object -ExpandProperty Lines # Checking for common issues if ($dnFormat -match ',' -and $DistinguishedNameFlag -ne 'UseSemicolons') { throw ("One or more RDNs appear to contain commas, the correct format for the distinguished name is to seperate RDNs with semi-colons and pass the UseSemiColons DistinguishedNameFlag") } # if the number of rdns doesn't match the number of '=' characters, the format probably isn't what the user intended. if ($rdnCount -ne $formatLineCount) { throw ("Error validating the distinguish name provided: {0}" -f $dnFormat) } Write-AzsReadinessLog ("Validated the distinguished name: {0}" -f $dnFormat) -Type Info -Function $thisFunction return $true } catch { Write-AzsReadinessLog ("Check the input of the distinguished name. Error {0}" -f $_.exception.message) -type Error -Function $thisFunction -toScreen throw $_.exception.message } } function Get-CertReqFilePaths { <# .SYNOPSIS Short description .DESCRIPTION Long description .EXAMPLE PS C:\> $FilePath = Join-Path -Path $OutputRequestPath -ChildPath $subjectAltNames[0].Replace('.', '_').Replace('*', 'wildcard') Get-CertReqFilePaths -filePath $FilePath outputs inf path, req path and log path. #> param ($filePath) $thisFunction = $MyInvocation.MyCommand.Name $directory = Split-Path $filePath -Parent $fileSeed = Split-Path $filePath -Leaf #Create filepaths for inf, req and log as [host|wildcard].region.external.fqdn-CertRequest- $infFilePath = "{0}\{1}_CertRequest_{2}_ClearTextDoNotUse.inf" -f $directory, $fileSeed, (Get-Date -f yyyyMMddHHmmss) Write-AzsReadinessLog -Message ("Setting infFilePath to {0}" -f $infFilePath) -Type Info -Function $thisFunction $csrFilePath = $infFilePath.Replace('_ClearTextDoNotUse', '').Replace('inf', 'req') $certReqLogPath = $csrFilePath.Replace('.req', '.log') @{infFilePath = $infFilePath; csrFilePath = $csrFilePath; certReqLogPath = $certReqLogPath} } # SIG # Begin signature block # MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDpFT79vxIxal43 # NFOCMQtrqtZdDiTqtenURUBiQCfgbKCCDYEwggX/MIID56ADAgECAhMzAAABUZ6N # j0Bxow5BAAAAAAFRMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMTkwNTAyMjEzNzQ2WhcNMjAwNTAyMjEzNzQ2WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQCVWsaGaUcdNB7xVcNmdfZiVBhYFGcn8KMqxgNIvOZWNH9JYQLuhHhmJ5RWISy1 # oey3zTuxqLbkHAdmbeU8NFMo49Pv71MgIS9IG/EtqwOH7upan+lIq6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