1. Andrew Davis
  2. PowerServer 2020 or older (Obsolete)
  3. Thursday, 10 December 2020 11:50 AM UTC

Hi,

System using - powerserver 2019 iis 8.5 on windows 2012 r2

Can anyone help, this may be my lack of understanding on iis rather than a powerserver problem, i can not remember if there was a setting when i installed powerserver as to whether i wanted http or https 

I have an application running on powerserver web, that works perfectly on http://myapp.mycompany.com

what do i have to do to have it work on https://myapp.mycompany.com  

regards and thank in advance as always

 

Andrew

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 10 December 2020 15:42 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

That is an IIS config instead of something you need to do in PowerServer product.  I recommend taking look at Microsoft documentation about IIS.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 10 December 2020 19:20 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Andrew;

  This is mostly all IIS work. You will need both Server and Client certificates obtainable from a certificate authority. Then the IIS machine needs to have its server certificate installed into the "Certificate Store" on that machine.

   For the PS Web app, you should then change the provided HTTP web page source then to redirect the App start-up to an HTTPS invocation. At that point, the Client Certificate will be installed into the Browser machine's Certificate Store. Once the two certificates match, an HTTPS session will now commence.

  Here is an example of what I use to do an HTTP => HTTPS "redirect" from within an HTML webpage ...

<!-- beginning of HttpRedirect.htm file -->
 
<script type="text/javascript">
 
function redirectToHttps()
 
{
 
var httpURL     = window.location.hostname + window.location.pathname;
 
var httpsURL     = "https://" + httpURL ;
 
window.location = httpsURL ;
 
}
 
redirectToHttps();
 
</script>
 
<!-- end of HttpRedirect.htm file -->

 

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.