Functions/New-Csr.ps1

<#
 
.SYNOPSIS
    Generate a Certificate Signing Request (CSR) for use with Windows Server Routing and Remote Access Service (RRAS) servers.
 
.PARAMETER Hostname
    The public hostname in fully qualified domain name (FQDN) format of the VPN server.
 
.PARAMETER AdditionalNames
    Additional public hostname(s) in fully qualified domain name (FQDN) format of the VPN server.
 
.PARAMETER EC
    This function generates a 2048-bit RSA key pair by default. Using this parameter will create a key pair using Elliptic Curve (EC) cryptography.
 
.PARAMETER Exportable
    Allows the private key of the certificate to be exported.
 
.PARAMETER InfOnly
    Creates the INF file only and does not generate the CSR.
 
.PARAMETER Online
    Submits the CSR to an online enterprise issuing CA.
 
.PARAMETER TemplateName
    The name of the certificate template to use for online requests.
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net
 
    Generates a CSR with the public hostname vpn.example.net
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net -AdditionalNames vpn2.example.net, vpn3.example.net
 
    Generates a CSR with the public hostname vpn.example.net and includes vpn2.example.net and vpn3.example.net in the Subject Alternative Names list.
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net -EC
 
    Generates a CSR with the public hostname vpn.example.net using an EC key.
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net -Exportable
 
    Generates a CSR with the public hostname vpn.example.net and allows the private key to be exported.
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net -InfOnly
 
    Creates an INF file only.
 
.EXAMPLE
    New-CSR -Hostname vpn.example.net -Online -TemplateName VpnServers
 
    Generates a CSR with the public hostname vpn.example.net and submits the CSR to an online enterprise issuing CA using the certificate template named VpnServers. Use this option only if the certificate can be issued without CA manager approval.
 
.DESCRIPTION
    Automates the process of creating an INF file and generating a CSR on Windows Server RRAS servers. Also includes the option to submit the CSR to an online enterprise issuing CA for domain joined servers.
 
.LINK
    https://github.com/richardhicks/aovpntools/blob/main/Functions/New-Csr.ps1
 
.NOTES
    Version: 2.3
    Creation Date: June 6, 2022
    Last Updated: July 16, 2024
    Author: Richard Hicks
    Organization: Richard M. Hicks Consulting, Inc.
    Contact: rich@richardhicks.com
    Website: https://www.richardhicks.com/
 
#>


Function New-Csr {

    [CmdletBinding(SupportsShouldProcess)]

    Param (

        [Parameter(Mandatory, HelpMessage = 'Enter the public hostname of the VPN server')]
        [string]$Hostname,
        [string[]]$AdditionalNames,
        [switch]$EC,
        [switch]$Exportable,
        [switch]$InfOnly,
        [switch]$Online,
        [string]$TemplateName

    )

    # Define file locations
    $InfPath = ".\$env:computername.inf"
    $CsrPath = ".\$env:computername.csr"
    $CerPath = ".\$env:computername.cer"

    $Hostname = $Hostname.ToLower()
    Write-Verbose "Subject name is $Hostname."

    If ($Hostname -Match '\*') {

        Write-Verbose 'Wildcard subject detected.'
        $Wildcard = $Hostname -Replace "^\*\.", ""

    }

    # Create INF file
    Write-Verbose 'Creating INF file...'
    $Inf = @()
    $Inf = { $Inf }.Invoke()

    $Inf.Add('[NewRequest]')
    $Inf.Add("Subject = ""CN=$Hostname""")

    If ($Wildcard) {

        $Inf.Add("FriendlyName = $Wildcard")

    }

    Else {

        $Inf.Add("FriendlyName = $Hostname")

    }

    If ($EC) {

        Write-Verbose 'Generating CSR using 256-bit EC key...'
        $Inf.Add('KeyAlgorithm = ECDSA_P256')
        $Inf.Add('KeyLength = 256')

    }

    Else {

        Write-Verbose 'Generating CSR using 2048-bit RSA key...'
        $Inf.Add('KeyAlgorithm = RSA')
        $Inf.Add('KeyLength = 2048')

    }

    $Inf.Add('MachineKeySet = True')

    If ($Exportable) {

        Write-Verbose 'Private key will be marked exportable.'
        $Inf.Add('Exportable = True')

    }

    $Inf.Add('')
    $Inf.Add('[Extensions]')
    $Inf.Add('2.5.29.17 = "{text}"')
    $Inf.Add("_continue_ = ""dns=$Hostname&""")

    If ($Wildcard) {

        Write-Verbose "Adding $Wildcard to the Subject Alternative Name list..."
        $Inf.Add("_continue_ = ""dns=$Wildcard&""")

    }

    ElseIf ($AdditionalNames) {

        ForEach ($Name in $AdditionalNames) {

            # Add additional names to SAN list that do not match the primary subject name
            If ($Name -Ne $Hostname) {

                Write-Verbose "Adding $Name to the Subject Alternative Name list..."
                $Name = $Name.ToLower()
                $Inf.Add("_continue_ = ""dns=$Name&""")

            }

        }

    }

    Write-Verbose "Writing INF file to $InfPath..."
    $Inf | Out-File $InfPath

    If ($InfOnly) {

        Write-Output "INF file saved to $InfPath."
        Return

    }

    Else {

        # Create CSR
        Write-Verbose "Writing CSR file to $CsrPath..."
        Invoke-Command -ScriptBlock { certreq.exe -new $InfPath $CsrPath } | Out-Null

        If (-Not ($Online)) {

            Write-Output "CSR file saved to $CsrPath."
            Return

        }

    }

    If ($Online) {

        # Submit CSR to online enterprise issuing CA
        Write-Verbose "Submitting CSR to issuing CA using $TemplateName certificate template..."
        Invoke-Command -ScriptBlock { certreq.exe -submit -attrib `"CertificateTemplate:$TemplateName`" $CsrPath $CerPath } | Out-Null

        If (Test-Path $CerPath) {

            # Import certificate
            Write-Verbose 'Certificate issued successfully. Importing certificate...'
            Import-Certificate -FilePath $CerPath -CertStoreLocation Cert:\LocalMachine\My | Out-Null

        }

        Else {

            Write-Warning 'The certificate was not issued automatically or failed. Check the issuing CA for details. The certificate may require approval from the CA manager before issuance.'

        }

    }

}

# SIG # Begin signature block
# MIIfdwYJKoZIhvcNAQcCoIIfaDCCH2QCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUKFVWZs/AQLgvzc1LTpBU8PZQ
# pRGgghpiMIIDWTCCAt+gAwIBAgIQD7inQLkVjQNRQ7xZ2fBAKTAKBggqhkjOPQQD
# AzBhMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL
# ExB3d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9v
# d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