ps New-ExchangeCertificate SYNTAX WHEN REQUESTING CERT Outside US

Shane King 31 Reputation points
2022-04-23T06:37:29.657+00:00

I have been setting up a new Exchange Server 2019 and am stuck with the syntax to generate an SSL CSR via powershell where the domain name is not in the US

example mycompany.com.au and the FQDN of the server to be used in the cert is mail.mycompanyname.com.au

Is this the correct syntax for an .AU domain

New-ExchangeCertificate -GenerateRequest -RequestFile "\\mymailserver\share\Mail.mycompany.com.au Cert.req" -FriendlyName "Mail.mycompany.com.au Cert" -SubjectName "C=AU,CN=mail.mycompanyname.com.au"
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,499 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
{count} votes

Accepted answer
  1. Limitless Technology 39,511 Reputation points
    2022-04-26T15:19:06.027+00:00

    Hi there,

    The RequestFile parameter that takes the UNC path as input was removed with the 2022 H1 Cumulative Updates release. To export the requested file to a UNC path, you must use the Set-Content cmdlet.

    For the error, network name cannot be found it occurs if one of the following conditions is true:

    -The network components on the domain controller are not configured correctly.
    -You did not update the network drivers on the domain controller
    -The server is unavailable or unreachable.

    You can follow the troubleshooting steps from the below article and see if that helps you
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/system-error-67-network-name-cannot-be-found

    ----------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Joyce Shen - MSFT 16,651 Reputation points
    2022-04-25T02:06:32.333+00:00

    Hi @Shane King

    For the error "The network name cannot be found." you received, please check if you have correctly set the sharing/permission for this path "\FileServer01\Data"
    195962-image.png

    You could try using "Run" to access this path to see if any issue:
    195963-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments