Comments (4)
Make sure that Azure PowerShell 1.0+ is installed on your machine.
from service-fabric.
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.
@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.
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)
- Cannot import module from PowerShell HOT 4
- Invoke-AddCertToKeyVault without private key HOT 3
- PSPKI module changes HOT 6
- System.IO.FileLoadException HOT 6
- ServiceFabricRPHelpers.psm1 [-Provider parameter no longer valid for powershell v5+?] HOT 1
- Running your script from VSTS
- Connection to Service Fabric Cluster Endpoint From Behind Corporate Proxy HOT 1
- The term 'New-AzureRmResourceGroup' is not recognized
- Error Could not load file or assembly System.Fabric.CSMTemplate.dll' or one of its dependencies. Operation is not supported
- Error creating cluster using 5-VM-1-NodeTypes-SecureRP_ServiceCertValidationNone.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from service-fabric.