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 Exchange Server Management
Windows for business Windows Server User experience PowerShell
{count} votes

Accepted answer
  1. Limitless Technology 39,916 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,701 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.