PowerShell / Polaris

A cross-platform, minimalist web framework for PowerShell
https://powershell.github.io/Polaris/
MIT License
512 stars 114 forks source link

Added HTTPS parameter to Start-Polaris #138

Closed jeremymcgee73 closed 6 years ago

jeremymcgee73 commented 6 years ago

I added a -HTTPS parameter to Start-Polaris to be able to use HTTPS in the listener. I also had to make a few changes to the Polaris class. I implemented the changes based on @ItsNotRudy's comments on the issue opened about HTTPS. I tested the change on my machine, and it did work as discussed.

I plan on also testing this on Linux with stunnel to see if we can get the same outcome as on windows. I will try to write up some documentation on how to use this soon.

jeremymcgee73 commented 6 years ago

Awesome! Thanks. I actually made the change earlier this week but forgot to push 😊. Also, I did some more testing. Admin isn't required to bind to https. Also, this does work on both Core and 5.1.

TylerLeonhardt commented 6 years ago

Thanks for this, @jeremymcgee73! Https is now supported much more easily 😊

TylerLeonhardt commented 6 years ago

I'll get this published on the Gallery as soon as I can. Although I will be traveling for the next few weeks