I'm not completely there yet, but made some progress and now there is no authorization error. As I told before, I'm a newbie to internet programming, and was unaware that I should set a few more properties. If SSL was not the problem I set out to find what could it be that I was missing. The fact that you are even getting an HTTP 403 error at all means the SSL portion is working fine, since HTTPS is encrypted and you are able to see a decrypted response. If you don't see anything apparent at the HTTP layer (cookies, login credentials, etc), then the issue could be at the SSL layer (ie, certificates, etc) component to the TIdHTTP.Intercept property), and compare them for any differences. One thing you could try is capture the HTTP request the browser is sending (using your browser's built-in debugger, or an external HTTPS debug proxy like Fiddler), and then capture the HTTP request that TIdHTTP is sending (assign one of Indy's TIdLog. We don't know, since we don't know your setup or what the server is expecting. Maybe you are missing a client-side certificate. Maybe you are not authenticated properly with the server. Maybe you are not accessing the correct URL. So the problem has to be related to something else. The GET method raises an exception EIdHTTPProtocolException with the message 'HTTP/1.1 403 Forbidden', so I think I'm missing something very basic because the works in the browser, Is there nowadays? As I said before, this line of work is not my strong suit and I don't want to be the PITA I'll probably be - I think I'll have many more questions. Can you help me?Īlso, a long time ago I needed to use Indy in a project, and there were paid support available. The GET method raises an exception EIdHTTPProtocolException with the message 'HTTP/1.1 403 Forbidden', so I think I'm missing something very basic because the works in the browser, I just could't figure it out what that would be by going through both component's properties. In the application executable folder there are 3 files: libea圓2.dll, sslea圓2.dll and the application executable. I started with a simple GET do a HTTPS server, so I dropped a TIdHTTP and a TIdSSLIOHandlerSocketOpenSSL components in a bare form and configured as follows: I'm not versed in HTTP a SSL, so excuse-me if I make any confusion.Ī FMX project I'm working on demands GET, POST, FTP and email receiving and parsing capabilities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |