Create Windows Server Self signed certificate by script or manually

PAVZ 136 Reputation points
2022-12-27T18:00:38.933+00:00

Dear Teams,
I want to create Self signed certificate by script or manually on Server 2016. My server is in Workgroup. Please share a process docs.

Thanks

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. TP 124.9K Reputation points Volunteer Moderator
    2022-12-27T18:32:40.883+00:00

    Hi,

    You can use New-SelfSignedCertificate PowerShell command to create self-signed certificates:

    New-SelfSignedCertificate

    https://learn.microsoft.com/en-us/powershell/module/pki/new-selfsignedcertificate

    On your server, please open a Windows PowerShell prompt and give it a try using the examples in the article.

    Thanks.

    -TP

    0 comments No comments

  2. PAVZ 136 Reputation points
    2022-12-28T03:11:43.23+00:00

    Dear TP

    My Server is on workgroup. Will i do execute example 1 for Cert in your article?

    Thanks


  3. PAVZ 136 Reputation points
    2022-12-28T06:23:05.747+00:00

    Dear TP
    Thanks a lot

    I executed this command (New-SelfSignedCertificate -DnsName "WindowsSVR" -CertStoreLocation "cert:\LocalMachine\My") but showing Friendly Name is (none), please advice for Friendly Name input the above command.

    Thanks


  4. PAVZ 136 Reputation points
    2022-12-29T04:49:01.783+00:00

    Dear TP
    Thanks a lot.

    If possible to share self signed certificate manually docs on Server 2016.


  5. PAVZ 136 Reputation points
    2022-12-29T09:47:08.717+00:00

    Dear TP
    Thanks a lot.

    I want to import the self signed certificate manually docs on Server 2016. Please your advices.


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.