![]() |
|
How to use https? - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: How to use https? (/thread-5454.html) |
How to use https? - Patrick1540 - 10-07-2025 Delphi version: 10.3 Intraweb version: 16 Application type: Http.sys I'm trying to secure my website. For testing purposes, I've already generated a self-signed certificate and reserved the URL (netsh http delete urlacl url=http://+:8888/; netsh http add urlacl url=http://+:8888/ user="Everyone"). However, my website still doesn't support HTTPS. Note: I'm not using a domain; I'm accessing it locally (127.0.0.1:8888). What am I doing wrong? RE: How to use https? - Alexandre Machado - 10-08-2025 You need to "bind" the certificate to the address/port that you are using. Atozed developed a tool to help developers to handle every task required to use a certificate with all types of IW applications. Here's the how to: https://www.atozed.com/intraweb/certmanager/creating-and-installing-self-signed-development-certificates-for-http-sys-applications/ Please notice that this document shows steps to handle both Indy and Http.sys applications (some steps only apply to Http.sys, others to Indy) Please let me know how it goes. Cheers RE: How to use https? - Patrick1540 - 10-09-2025 I purchased a cheap domain just for testing, Generated a Let's Encrypt certificate, installed and linked this certificate, and it worked. Thankyou. RE: How to use https? - Alexandre Machado - 10-09-2025 That's great news :-) Thanks for the feedback RE: How to use https? - iftkhar - 10-25-2025 You need to bind your SSL certificate to the HTTPS port, not HTTP. Try this in an elevated command prompt: netsh http add sslcert ipport=0.0.0.0:8888 certhash=YOUR_CERT_HASH appid={YOUR_APP_GUID} Then in IntraWeb ServerController, enable SSLOptions.Enabled := True; and set the certificate/key paths. After that, access your app via https://127.0.0.1:8888/. |