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: ...
New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname "caart-cert"
$pwd = ConvertTo-SecureString -String "Passw0rd" -Force -AsPlainText
Thank you for making this video, very helpful and straight to the point!
Thanks for watching.
Thank you so much this was very helpful I have been able to finish my assignment
Glad it helped!
Nailed it to fix a Chrome SSL certificate issue where the website wouldn't be shown with a cert created in IIS.
Thanks for watching!
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.
I've heard that many times before. Thanks for watching!
thanks Robert
You got it King
Thank!
How change -type so the purpose of cert show "" ?
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?
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?
Check out my video on this: ruclips.net/video/oIos0TbZfjY/видео.html
Hey Robert nice video. Do u have a video to change the SSL cert.. with a PS script?
I'll put it on my list.
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
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.
Thanks Prof. For the feedback let me try.
Great video. How do you export it?
Open MMC and add the local certificates snap in. Go tot he personal folder and right click the certificate, more options, export.
I'm getting access denied when i insert these lines of code in powershell
Run Powershell as Administrator
Agreed
I am looking for 5 years self sign, how to create?
Just change the expiration to a longer date. I like to do 50 years on internal certs. Can't do it on public.