IIS 8.5 and curl --insecure

263 views
Skip to first unread message

Ronald Carter

unread,
Jan 20, 2016, 10:17:29 PM1/20/16
to munkireport
I am trying to setup MunkiReport on IIS 8.5 (Server 2012R2) I have installed and configured PHP 5.6.1 via Web Platform Installer and I can verify it is working via https://fqdn/phpsinfo.php

I downloaded the zip and extracted it into the new base c:\wwroot\munkireport and then created config.php this is all working and i am able to login to the website user AD auth

What doesn't work is when i try to create the installer when i run sudo /bin/bash -c "$(curl -s https://FQDN/index.php?/install)"  I get the following

The domain/default pairof {/Library/Preferences/MunkiReport, UseMunkiAdditionalHttpHeaders} does not exist
Preparing /usr/local/munki and /Library/Prefereences/MunkiReport
BaseURL is https://FQDN/
Retrieving munkireport scripts
curl: (35) Server aborted the SSL handshake
curl: (35) Server aborted the SSL handshake
curl: (35) Server aborted the SSL handshake
Failed to download all required components

So I did some testing with a specific file https://FQDN/assets/client_installer/purl
curl --insecure https://FQDN/assets/client_installer/purl doesn't work with curl: (35) Server aborted the SSL handshak

I am not familiar with php or IIS and was wondering if anyone could help

lists.mac

unread,
Jan 20, 2016, 11:05:50 PM1/20/16
to munki...@googlegroups.com
Ronald,


I have a similar setup as you. I remove the --insecure flag. 


Marnin



--
You received this message because you are subscribed to the Google Groups "munkireport" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munkireport...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ronald Carter

unread,
Jan 20, 2016, 11:19:08 PM1/20/16
to munkireport
Marnin,

How do I remove the --insecure flag?

Mike Solin

unread,
Jan 20, 2016, 11:21:25 PM1/20/16
to munki...@googlegroups.com
I haven’t seen this issue with our setup (Windows Server 2012r2, IIS 8.5, SSL, not sure of the PHP version).  Is it because I’m using the AutoPkg recipe instead of creating the installer with curl?

lists.mac

unread,
Jan 20, 2016, 11:29:49 PM1/20/16
to munki...@googlegroups.com

Ronald Carter

unread,
Jan 21, 2016, 12:40:28 AM1/21/16
to munkireport
Thnaks all working now
Reply all
Reply to author
Forward
0 new messages