GithubHelp home page GithubHelp logo

rsmsmq's Introduction

rsMSMQ

rsmsmq's People

Contributors

mkey0bc avatar jonathan-madison avatar nick-o avatar

Watchers

James Cloos avatar Alexei Andreyev avatar  avatar Ryan Yates avatar Binoy Patel avatar  avatar

rsmsmq's Issues

Would it make sense to rename this repo?

Just thinking about this and while this module uses MSMQ at its core, its man function is to facilitate part of the provisioning process and a more descriptive name would be more suitable here and prevent confusion with an actual DSC MSMQ service configuration module?

Some ideas:
rsDSCPlatformConfiguration
rsDSCPlatformProvisioning
...etc

Thoughts anyone?

client cert creation in rsProcessQueue incompatible with databag exchange

Set-TargetResource function in RS_rsProcessQueue resource (at line 77-80) uses System.Security.Cryptography.X509Certificates class to create client cert and install on PullServer.

From what I'm seeing in on MSDN, I don't think it's possible to create a key exchange cert using this class.

https://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2%28v=vs.110%29.aspx

As such, generating the certificates in this manner is preventing DSC from encrypting a PSCredential for clients as the cert is not valid for key exchange. No error is thrown when running DSC but MOFs do not generate. Manually running throws an error about storing plaintext passwords in the MOF, leading me to believe this is the issue. Error text at the end of this message.

We'll need to hotfix this DSC resource to use makecert.exe instead.

Full error text:

ConvertTo-MOFInstance : System.InvalidOperationException error processing property 'Password' OF TYPE 'User': Converting and storing
encrypted passwords as plain text is not recommended. For more information on securing credentials in MOF file, please refer to MSDN
blog: http://go.microsoft.com/fwlink/?LinkId=393729
At C:\DevOps\Template-Client.ps1:46 char:9

  • User
    At line:190 char:16
  • $aliasId = ConvertTo-MOFInstance $keywordName $canonicalizedValue
    
  •            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Write-Error], InvalidOperationException
    • FullyQualifiedErrorId : FailToProcessProperty,ConvertTo-MOFInstance
      Errors occurred while processing configuration 'Client'.
      At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:2223 char:5
  • throw $errorRecord
    
  • ~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (Client:String) [], InvalidOperationException
    • FullyQualifiedErrorId : FailToProcessConfiguration

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.