Re: [Cppcms-users] Embedded local HTTPS server
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-03-21 12:20:30
|
> For example, if a website support HTTPS. > Then it should use SSL certificate, and signed, > verified by 3rd organization, like Verisign. And > this SSL should bind to domain. > We can create self signed security, but browser > will pop up a SSL warning page/dialog while loading > the https site. > HTTPS for embedded devices is mostly requred for a secure communication withing some private network. Generally these sertificates are handled on per-server basis and explicitly allowed by the users. > > The question is, what if I want to create a embedded > HTTPS server, running on localhost and accept request from localhost. > It has not much sence to use SSL on "localhost" :-). > How can I provide the certificate to this HTTPs site? > I guess Verisign will not provide any ssl info bind to Localhost domain:) > So how can I make sure web browser request to localhost:443 via HTTPS will > not pop up SSL warning page/dialog? > Generally "SSL Warning" would pop only first time and if you add an exception you should not have problems in future. Basically you register the sertificate on per "web-site" basis, I assume there are some more solutions avalible. I'd recommend you to search about it on the web. This has nothing to do with CppCMS as you would have exactly the same problem with any local web server: Apache, Lighttpd, Nginx or IIS. Artyom Beilis ------------- Support CppCMS by donating money: https://sourceforge.net/donate/index.php?group_id=209965 |