I’ve managed to get HTTPS running with the .NET Core application. There is something I would like to get your feedback on though. How should Radzen handle deployment of HTTPS applications? There is more than one way we could do it:
We can expect developers to overwrite the self-signed certificate that Radzen generates with the production one and expose extensibility API to set any passwords which the certificate may require. This has one problem though - the Angular CLI doesn’t work with p12 (pfx) certificates and one would have to manually create them via openssl.
We can ask for the production certificate and password in the deploy dialog.
I would go for option 2 (or let a user save the location where you also enable the https option).
But, mostly (in my case), I create a certificate and upload it to the (azure) site.
Here is a link how you can do it with the azure cli:
were you able to run local without the "ERR_SSL_PROTOCOL_ERROR" error?
were you able to run local without the “ERR_SSL_PROTOCOL_ERROR” error?
Yes, we have to implement the production deployment feature first though in order to be complete. Otherwise you would have to uncheck HTTPS before publishing to Azure (which may also work I guess). I can send you an interim build if you would like to test. Let me know.
The certificates are self-signed and browsers will display warnings unless you trust them. Needless to say those certificates should not be used in production.
Before deployment you have to disable HTTPS. If you have setup HTTPS in Azure it should work as expected.
The error message ERR_SSL_PROTOCOL_ERROR error indicates that the browser is not able to initiate the secured communication at the moment. It's almost impossible to pin it down to a single cause, it could be almost anything. There is no definite guide for managing this error. However, there are few changes or settings which help you to get rid you of this error.
When there is an issue with the SSL protocol that generates an encrypted connection between a website’s browser and the server, the error code ERR_SSL_PROTOCOL_ERROR usually occurs. An outdated browser or OS (operating system), an invalid SSL certificate, or an improper SSL setup on the server side may cause this error.
Your browser will often provide an alert when this phenomenon occurs: “Your connection is not private” or “This site can’t provide a secure connection.” There are many methods to solve the error; you need to understand them in detail.