How to create a self signed cert using Powershell in Windows Server 2016

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Professor Robert McMillen shows you how to create a self signed cert using Powershell in Windows Server 2016
    New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "cert1"
    $pwd = ConvertTo-SecureString -String "Passw0rd" -Force -AsPlainText
    To have it trusted internally watch this video to link in a group policy object: • Server 2016 Tutorial: ...

Комментарии • 27

  • @MilannsWorld
    @MilannsWorld 4 года назад +5

    New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "caart-cert"
    $pwd = ConvertTo-SecureString -String "Passw0rd" -Force -AsPlainText

  • @cnordbott
    @cnordbott 5 месяцев назад

    Thank you for making this video, very helpful and straight to the point!

    • @techpub
      @techpub  5 месяцев назад

      Thanks for watching.

  • @victoriabaiden8869
    @victoriabaiden8869 3 года назад

    Thank you so much this was very helpful I have been able to finish my assignment

    • @techpub
      @techpub  3 года назад

      Glad it helped!

  • @paulonyoutube
    @paulonyoutube 6 месяцев назад

    Nailed it to fix a Chrome SSL certificate issue where the website wouldn't be shown with a cert created in IIS.

    • @techpub
      @techpub  5 месяцев назад +1

      Thanks for watching!

  • @jaxonrox
    @jaxonrox 6 месяцев назад

    Its' the first time I've taken advice from a James Bond villain and it's paid off. I can't help thinking I've done something bad though.

    • @techpub
      @techpub  5 месяцев назад +1

      I've heard that many times before. Thanks for watching!

  • @tabaicanking3701
    @tabaicanking3701 Год назад

    thanks Robert

    • @techpub
      @techpub  Год назад +1

      You got it King

  • @cinodio-g3895
    @cinodio-g3895 5 лет назад

    Thank!
    How change -type so the purpose of cert show "" ?

  • @monishac9595
    @monishac9595 4 года назад

    Anyone with the certificate can use it ? If so it is not secure to use certificates right. Is there any secure way to use this certificates?

  • @mtbevins
    @mtbevins 3 года назад

    Great video. How would I create and add it to Remote Desktop? I need to script this so I would like it to be placed in Remote Desktop as opposed to being in personal. Is there a way to do that or is there an easy way to move it via power shell after it has been created?

    • @techpub
      @techpub  3 года назад

      Check out my video on this: ruclips.net/video/oIos0TbZfjY/видео.html

  • @cristianeste12
    @cristianeste12 4 года назад

    Hey Robert nice video. Do u have a video to change the SSL cert.. with a PS script?

    • @techpub
      @techpub  4 года назад

      I'll put it on my list.

  • @abbagarba1
    @abbagarba1 4 года назад

    Thanks, Professor for the video I learn a lot. Actually I have a question How to check the revocation status of the self signed certificate? Who revoke the self signed certificate? thanks

    • @techpub
      @techpub  4 года назад

      Glad to hear it! Go into the MMC and add in the local machine certificates and look in the revoked list. The only way to find out who did it is to check the log files in Event Viewer.

    • @abbagarba1
      @abbagarba1 4 года назад

      Thanks Prof. For the feedback let me try.

  • @angelaharris8451
    @angelaharris8451 2 года назад

    Great video. How do you export it?

    • @techpub
      @techpub  2 года назад

      Open MMC and add the local certificates snap in. Go tot he personal folder and right click the certificate, more options, export.

  • @vitorpolovanick
    @vitorpolovanick 4 года назад

    I'm getting access denied when i insert these lines of code in powershell

    • @wdezell1234
      @wdezell1234 4 года назад +1

      Run Powershell as Administrator

    • @techpub
      @techpub  4 года назад

      Agreed

  • @sriswan8808
    @sriswan8808 3 года назад

    I am looking for 5 years self sign, how to create?

    • @techpub
      @techpub  3 года назад

      Just change the expiration to a longer date. I like to do 50 years on internal certs. Can't do it on public.