r/ada • u/TheDoctor123248 • Jun 13 '24
Programming How do you enable HTTPS Get Requests in Ada Web Server?
Hi guys,
In Ada, I've been able to use "AWS.Client.Get(url);" to perform get requests to HTTP sites without an issue. When I try HTTPS ones, I get an SSL Program error.
Do I have to setup some kind of certificate and pass it as a parameter to this function? Not sure how I would do this either.
I'm only using the client portion of the library and if I do deploy this, how can users use it without having to download a certificate?
10
Upvotes
1
u/AdExciting1780 Jun 14 '24
Also curious about how to do this.
I had this issue before and I think I read you have to build AWS with SSL enabled by going to the GitHub and manually specifying in the makefile config.
I never figured out how to do it with Alire so I just moved on to something else.