<div dir="ltr"><div>I was able to resolve the issue. The full path to the certificate had to be set in the HTTP_Reqeust2 configuration within class.RESTClient.php:</div><div><br></div><div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif">public<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>function createRequest( $url,
$method, $arr = null ) {<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>$this->curr_url =
$url;<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span><span> </span>$this->req = new HTTP_Request2( $url,
HTTP_Request2::METHOD_GET );<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>$this->req->setConfig(array(<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>'ssl_cafile'
=> “path_to_cert_file”<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>));<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>if ( $this->user_name
!= "" && $this->password != "" ) {<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span>
</span>$this->req->setAuth( $this->user_name, $this->password,
"basic" );<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>}<span></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:"Calibri",sans-serif"><span> </span>}<span></span></p>
</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 29, 2020 at 2:19 PM DBowen <<a href="mailto:dbowenrci@gmail.com">dbowenrci@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm attempting to set up MapGuide to connect with an API that requires an SSL<br>
certificate. While I have the certificate, I'm not sure how to config<br>
MapGuide to utilize it when it connects with the API. I've attempted to<br>
follow online resources, however they seem to focus on setting up MapGuide<br>
with SSL, which is opposite of what I'm trying to do.<br>
<br>
Thanks,<br>
David<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html</a><br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a></blockquote></div>