pnp / generator-teams

A Yeoman Generator for Microsoft Teams
https://pnp.github.io/generator-teams
MIT License
415 stars 110 forks source link

Support for HTTPS and not only HTTP for local server #186

Open PaoloPia opened 3 years ago

PaoloPia commented 3 years ago

I'd like to see support for HTTPS on local server, and not only HTTP. I already have a partially working solution on my environment. The only challenge is to make a choice about how to generate a self-issued certificate during the generation.

PaoloPia commented 3 years ago

Hey @wictorwilen, Talking about adding support for HTTPS, I already updated the code templates in my own branch, but I'd like to also generate a self-signed certificate for SSL hosting. However, there are multiple options to do that (dotnet, PowerShell, OpenSSL, etc.). What is your preference? Or do you rather prefer to just prompt the developer for the path and password of the PFX, without generating it within the generation process? Thanks.

wictorwilen commented 3 years ago

The only preference I have is that it should not require any additional installs, if not needed. I think it would be great to have a custom task that creates the certificate (could be done via the selfsigned npm package) and also documentation on how to provide your own.

PaoloPia commented 3 years ago

Here is the PR for this item: https://github.com/pnp/generator-teams/pull/201