1

How to enable SSL on Pyramid website and forward all HTTP request to HTTPS

To enable HTTPS for the Pyramid website, Pyramid must be installed using the IIS option.

Once Pyramid is installed, configure an HTTPS binding in IIS using the following steps:

  1. Open Internet Information Services (IIS) Manager.
  2. Expand Sites, right-click the Pyramid website, and select Edit Bindings (1).
  3. Click Add (2).
  4. Set the binding type to https (3).
  5. Enter the required hostname (4), if applicable.
  6. Select the appropriate SSL certificate (5).
  7. Click OK to save the binding.

Configuring an HTTPS binding and SSL certificate for the Pyramid website in IIS

Once the HTTPS binding is configured, open the Pyramid website using its HTTPS address, for example:

https://pyramid.example.com

Ensure that the hostname matches the SSL certificate and that TCP port 443 is accessible.

Note: No changes to Pyramid's web.config file are required solely to add an HTTPS binding in IIS.

6 replies

null
    • BI Project
    • Alister_Hill
    • 7 yrs ago
    • Reported - view

    Yakov Shaul

    I can't remember which option we chose, we deployed the server a long time ago when Pyramid 2018 was first announced. It looks like I don't have IIS on the webserver, is there a way to migrate so I can upload my SSL certificate?

    • Daniel
    • 7 yrs ago
    • Answer
    • Reported - view

    Hi Alister,

    You can install IIS  explained here and then following the instructions in the link below on how to create the Pyramid2018 site so that you can use SSL on your site.

    https://community.pyramidanalytics.com/t/635fyg/how-to-create-a-pyramid-2018-website-in-iis-after-an-install

    If you require further assistance, please open a support ticket with us and we will follow up with you.

    Thank you.

    • "making the sophisticated simple"
    • AviPerez
    • 7 yrs ago
    • Reported - view

    Just FYI:

    Using IIS for SSL and URL processing is only one option for Windows based servers. You can use alternative "reverse proxy" technologies like NGINX (good for Windows or Linux) and F5 (hardware). IIS is not a required  layer in choosing alternatives.

    • Robin_Way
    • 4 yrs ago
    • Reported - view

    What if Pyramid is installed on an AWS linux instance? We wouldnt be using IIS from there. Are there instructions on how to configure web hosting for Pyramid on Linux? 

    • VP Product Management
    • Ian_Macdonald
    • 4 yrs ago
    • Reported - view

    Hi Robin,

    Check out our Help for instructions on how to configure NGINX for use with Pyramid in a Linux environment.

    Hope that helps.

    Ian

    • Daniel
    • 4 yrs ago
    • Reported - view

    Robin Way

    To add, that as you are on AWS you can just use an AWS load balancer and skip the NGINX install. You only need NGNIX if you want to terminate SSL directly on the Pyramid machine itself and not use a load balancer.

    More info on using an AWS load balancer can be seen in the below article:

    https://community.pyramidanalytics.com/t/q5wbha/how-to-setup-a-amazonaws-load-balancer-to-work-with-pyramid