Giter Club home page Giter Club logo

Comments (4)

ChackDan avatar ChackDan commented on July 28, 2024

Make sure that Azure PowerShell 1.0+ is installed on your machine.

from service-fabric.

DavieReid avatar DavieReid commented on July 28, 2024

I have the same problem as @rfcdejong and I am using version 1.5.1 of Azure powershell on a Windows Server 2012 R2 box.

Removing the -provider param generates a certificate without issue.

from service-fabric.

vbhadrir avatar vbhadrir commented on July 28, 2024

@DavieReid, I am having the same problem as you and @rfcdejong. To generate a valid certificate, you mention the workaround of removing the -provider param. How did you remove the -provide param ? can you please provide more details ?

from service-fabric.

DavieReid avatar DavieReid commented on July 28, 2024

I edited the ServiceFabricRPHelpers.psm1 file and changed

New-SelfSignedCertificate -CertStoreLocation Cert:\CurrentUser\My -DnsName $DnsName -Provider 'Microsoft Enhanced Cryptographic Provider v1.0' | Export-PfxCertificate -FilePath $NewPfxFilePath -Password $securePassword | Out-Null

to

New-SelfSignedCertificate -CertStoreLocation Cert:\CurrentUser\My -DnsName $DnsName | Export-PfxCertificate -FilePath $NewPfxFilePath -Password $securePassword | Out-Null

I didn't use the certificate created via this method for long. I had my infrastructure department generate a certificate for me.

from service-fabric.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.