# getting error when try to pulling mof from pull server

**URL:** <https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111>\
**Category:** DSC\
**Created:** [August 2, 2017, 7:18am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111 "2017-08-02T07:18:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuvaraj-duraisamy](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yuvaraj-duraisamy](https://forums.powershell.org/u/yuvaraj-duraisamy)\
**Post date:** [August 2, 2017, 7:18am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/1 "2017-08-02T07:18:32Z")

</div>

Failed to get the action from server [https://pullserver.westus2.cloudapp.azure.com:8080/PSDSCPullServer.svc/Action(ConfigurationId=\‘305633f0-549b-4bb5-ae75-582d8317819e\’)/GetAction](https://pullserver.westus2.cloudapp.azure.com:8080/PSDSCPullServer.svc/Action(ConfigurationId=%5C'305633f0-549b-4bb5-ae75-582d8317819e%5C')/GetAction).

1. I have configured the pull server with https protocol.
2. I was getting above error when client m/c was trying to pull the mof from pull server.
3. when I configured the pull server with http protocol , client machine could pull the configuration file .

so I have missed something when configured the pull server with https protocol , so kindly help me on this issue.

---

<div class="post-metadata">

**Author:** ![kinwolf](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kinwolf](https://forums.powershell.org/u/kinwolf)\
**Post date:** [August 2, 2017, 7:27am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/2 "2017-08-02T07:27:13Z")

</div>

Maybe something in the SSL config of the website. Here are a couple of things to check:

1- Verify that the certificate used for the website is trusted on the client side. Easiest way to do that is to load the URL you entered above in a browser and verify the certificate validation from there. Are you using a self-signed certificate or a cert from a CA?

2- Unless you also have a certificate installed on the client, make sure the SSL settings of the website for “Client Certificates” is set to “Ignore” or “Accept” but not “Required”

---

<div class="post-metadata">

**Author:** ![geraldomagella](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/geraldomagella/32/415_2.png) [@geraldomagella](https://forums.powershell.org/u/geraldomagella)\
**Post date:** [August 2, 2017, 11:06pm UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/3 "2017-08-02T23:06:04Z")

</div>

You might also want to check if FIPS mode is enabled on client ([info](https://blogs.technet.microsoft.com/secguide/2014/04/07/why-were-not-recommending-fips-mode-anymore/)).

Also, you’ll find helpful information on Event Viewer, under: Windows \> Desired State Configuration \> Operational.

Cheers

---

<div class="post-metadata">

**Author:** ![yuvaraj-duraisamy](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yuvaraj-duraisamy](https://forums.powershell.org/u/yuvaraj-duraisamy)\
**Post date:** [August 3, 2017, 8:20am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/4 "2017-08-03T08:20:29Z")

</div>

its CA certificate , website ssl setting in ignore mode only . but am facing the issue

---

<div class="post-metadata">

**Author:** ![yuvaraj-duraisamy](https://avatars.discourse-cdn.com/v4/letter/y/ce7236/32.png) [@yuvaraj-duraisamy](https://forums.powershell.org/u/yuvaraj-duraisamy)\
**Post date:** [August 3, 2017, 8:54am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/5 "2017-08-03T08:54:50Z")

</div>

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —\> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure

This is the message I am getting in event viewer

---

<div class="post-metadata">

**Author:** ![geraldomagella](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/geraldomagella/32/415_2.png) [@geraldomagella](https://forums.powershell.org/u/geraldomagella)\
**Post date:** [August 3, 2017, 10:32am UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/6 "2017-08-03T10:32:27Z")

</div>

Apparently you’re using a self sign certificate, no? Make sure to “trust” that certificate on the client computer.  
Try to open the URL of the pull server via a regular browser and see if there is SSL issues. Fix that before going to PS.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:16pm UTC](https://forums.powershell.org/t/getting-error-when-try-to-pulling-mof-from-pull-server/9111/7 "2024-05-16T21:16:41Z")

</div>

Closed on May 16, 2024, 9:16pm UTC


