Create a self-signed certificate on Windows Server 2008 R2 with powershell v2.0Installing PKI Client cmdlet on Windows 2008 R2How to create self signed wildcard (*.example.com) certificateHow can I create self-signed certificate that is stronger than SHA-1?Creating SSL certificate signed by a self-signed CA certificate in JettyHow do I trust a self signed certificate?Creating Self Signed Certificates with New-SelfSignedCertificateCannot connect to a site with a self-signed certificateHow is a self-signed certificate different from a certificate signing request?Unable to access a server with a self-signed SSL certificate from some devicesHow to create self-signed certificate to sign Office macrosSelf-Signed Certificate working in OS X but not Windows

Multi tool use
Multi tool use

Illegal assignment from SObject to Contact

Is creating your own "experiment" considered cheating during a physics exam?

What's the metal clinking sound at the end of credits in Avengers: Endgame?

How deep to place a deadman anchor for a slackline?

Pressure to defend the relevance of one's area of mathematics

Pulling the rope with one hand is as heavy as with two hands?

Upright [...] in italics quotation

Why do TACANs not have a symbol for compulsory reporting?

Asahi Dry Black beer can

Does a creature that is immune to a condition still make a saving throw?

Can I get candy for a Pokemon I haven't caught yet?

Are Boeing 737-800’s grounded?

Modify locally tikzset

Why was Germany not as successful as other Europeans in establishing overseas colonies?

Is it possible to measure lightning discharges as Nikola Tesla?

How to figure out whether the data is sample data or population data apart from the client's information?

Confused by notation of atomic number Z and mass number A on periodic table of elements

Can fracking help reduce CO2?

Historically, were women trained for obligatory wars? Or did they serve some other military function?

Unexpected email from Yorkshire Bank

Weird result in complex limit

What are the spoon bit of a spoon and fork bit of a fork called?

Why does Bran Stark feel that Jon Snow "needs to know" about his lineage?

Minimum value of 4 digit number divided by sum of its digits



Create a self-signed certificate on Windows Server 2008 R2 with powershell v2.0


Installing PKI Client cmdlet on Windows 2008 R2How to create self signed wildcard (*.example.com) certificateHow can I create self-signed certificate that is stronger than SHA-1?Creating SSL certificate signed by a self-signed CA certificate in JettyHow do I trust a self signed certificate?Creating Self Signed Certificates with New-SelfSignedCertificateCannot connect to a site with a self-signed certificateHow is a self-signed certificate different from a certificate signing request?Unable to access a server with a self-signed SSL certificate from some devicesHow to create self-signed certificate to sign Office macrosSelf-Signed Certificate working in OS X but not Windows






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I'm trying to create a self-signed certificate using power shell. I have tried using import-module PKI but seems like it's supported on powershell v3.0 onward .Is any other way I could create a self-signed certificate using powershell v2.0?










share|improve this question



















  • 2





    Is there any specific reason to stick with PowerShell 2.0?

    – Crypt32
    Sep 18 '16 at 5:40

















1















I'm trying to create a self-signed certificate using power shell. I have tried using import-module PKI but seems like it's supported on powershell v3.0 onward .Is any other way I could create a self-signed certificate using powershell v2.0?










share|improve this question



















  • 2





    Is there any specific reason to stick with PowerShell 2.0?

    – Crypt32
    Sep 18 '16 at 5:40













1












1








1








I'm trying to create a self-signed certificate using power shell. I have tried using import-module PKI but seems like it's supported on powershell v3.0 onward .Is any other way I could create a self-signed certificate using powershell v2.0?










share|improve this question
















I'm trying to create a self-signed certificate using power shell. I have tried using import-module PKI but seems like it's supported on powershell v3.0 onward .Is any other way I could create a self-signed certificate using powershell v2.0?







windows windows-server-2008-r2 powershell scripting self-signed-certificate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 9 '16 at 9:47







Abhaya Ghatkar

















asked Aug 9 '16 at 6:40









Abhaya GhatkarAbhaya Ghatkar

614




614







  • 2





    Is there any specific reason to stick with PowerShell 2.0?

    – Crypt32
    Sep 18 '16 at 5:40












  • 2





    Is there any specific reason to stick with PowerShell 2.0?

    – Crypt32
    Sep 18 '16 at 5:40







2




2





Is there any specific reason to stick with PowerShell 2.0?

– Crypt32
Sep 18 '16 at 5:40





Is there any specific reason to stick with PowerShell 2.0?

– Crypt32
Sep 18 '16 at 5:40










2 Answers
2






active

oldest

votes


















0














you could download the Windows SDK and use MakeCert






share|improve this answer























  • Please, read the page header in the referenced link. Makecert.exe is deprecated.

    – Crypt32
    Sep 17 '16 at 19:25











  • since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

    – Mass Nerder
    Sep 17 '16 at 21:16











  • This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

    – Crypt32
    Sep 18 '16 at 5:35


















-1














Have you tried this?



New-SelfSignedCertificate -DnsName 'www.fabrikam.com', 'www.contoso.com' -CertStoreLocation 'cert:LocalMachineMy'





share|improve this answer


















  • 1





    New-SelfSignedCertificate this command works on powershell v3.0 onward.

    – Abhaya Ghatkar
    Aug 10 '16 at 10:54











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f795678%2fcreate-a-self-signed-certificate-on-windows-server-2008-r2-with-powershell-v2-0%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














you could download the Windows SDK and use MakeCert






share|improve this answer























  • Please, read the page header in the referenced link. Makecert.exe is deprecated.

    – Crypt32
    Sep 17 '16 at 19:25











  • since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

    – Mass Nerder
    Sep 17 '16 at 21:16











  • This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

    – Crypt32
    Sep 18 '16 at 5:35















0














you could download the Windows SDK and use MakeCert






share|improve this answer























  • Please, read the page header in the referenced link. Makecert.exe is deprecated.

    – Crypt32
    Sep 17 '16 at 19:25











  • since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

    – Mass Nerder
    Sep 17 '16 at 21:16











  • This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

    – Crypt32
    Sep 18 '16 at 5:35













0












0








0







you could download the Windows SDK and use MakeCert






share|improve this answer













you could download the Windows SDK and use MakeCert







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 9 '16 at 22:01









Mass NerderMass Nerder

88246




88246












  • Please, read the page header in the referenced link. Makecert.exe is deprecated.

    – Crypt32
    Sep 17 '16 at 19:25











  • since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

    – Mass Nerder
    Sep 17 '16 at 21:16











  • This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

    – Crypt32
    Sep 18 '16 at 5:35

















  • Please, read the page header in the referenced link. Makecert.exe is deprecated.

    – Crypt32
    Sep 17 '16 at 19:25











  • since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

    – Mass Nerder
    Sep 17 '16 at 21:16











  • This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

    – Crypt32
    Sep 18 '16 at 5:35
















Please, read the page header in the referenced link. Makecert.exe is deprecated.

– Crypt32
Sep 17 '16 at 19:25





Please, read the page header in the referenced link. Makecert.exe is deprecated.

– Crypt32
Sep 17 '16 at 19:25













since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

– Mass Nerder
Sep 17 '16 at 21:16





since he using Windows 2008 and powershell 2, makecert will work just fine. @CryptoGuy.

– Mass Nerder
Sep 17 '16 at 21:16













This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

– Crypt32
Sep 18 '16 at 5:35





This one would be better: gallery.technet.microsoft.com/scriptcenter/…. Makecert.exe was deprecated due to extremely weak and outdated cryptography. It was the solution in pre-Vista era, but things changed in Vista/2008 when they got completely new cryptography subsystem.

– Crypt32
Sep 18 '16 at 5:35













-1














Have you tried this?



New-SelfSignedCertificate -DnsName 'www.fabrikam.com', 'www.contoso.com' -CertStoreLocation 'cert:LocalMachineMy'





share|improve this answer


















  • 1





    New-SelfSignedCertificate this command works on powershell v3.0 onward.

    – Abhaya Ghatkar
    Aug 10 '16 at 10:54















-1














Have you tried this?



New-SelfSignedCertificate -DnsName 'www.fabrikam.com', 'www.contoso.com' -CertStoreLocation 'cert:LocalMachineMy'





share|improve this answer


















  • 1





    New-SelfSignedCertificate this command works on powershell v3.0 onward.

    – Abhaya Ghatkar
    Aug 10 '16 at 10:54













-1












-1








-1







Have you tried this?



New-SelfSignedCertificate -DnsName 'www.fabrikam.com', 'www.contoso.com' -CertStoreLocation 'cert:LocalMachineMy'





share|improve this answer













Have you tried this?



New-SelfSignedCertificate -DnsName 'www.fabrikam.com', 'www.contoso.com' -CertStoreLocation 'cert:LocalMachineMy'






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 9 '16 at 19:10









Hitesh DhrunaHitesh Dhruna

11




11







  • 1





    New-SelfSignedCertificate this command works on powershell v3.0 onward.

    – Abhaya Ghatkar
    Aug 10 '16 at 10:54












  • 1





    New-SelfSignedCertificate this command works on powershell v3.0 onward.

    – Abhaya Ghatkar
    Aug 10 '16 at 10:54







1




1





New-SelfSignedCertificate this command works on powershell v3.0 onward.

– Abhaya Ghatkar
Aug 10 '16 at 10:54





New-SelfSignedCertificate this command works on powershell v3.0 onward.

– Abhaya Ghatkar
Aug 10 '16 at 10:54

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f795678%2fcreate-a-self-signed-certificate-on-windows-server-2008-r2-with-powershell-v2-0%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







5Kicmn,ttRlbJH,fw 9ldKuh uNEW gU0iOpPoZmZfWQ,VMfwuMScMEKyTyCVeaQPk,As9QT
g L SBvnquTFLHz8

Popular posts from this blog

RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020