pedestal

simongray 2020-12-09T09:08:33.290900Z

I’m trying to figure out whether I screwed up my SSL/HTTPS config somehow or whether the IT department providing the server did. If I make an HTTPS request to a Pedestal web service and I get an 1) empty response and 2) the Pedestal log show no request having been made, then I guess it’s safe to assume that my IT department is blocking port 443, right?

souenzzo 2020-12-09T12:03:25.291600Z

@simongray double check ::http/host "0.0.0.0"

simongray 2020-12-09T12:09:10.291700Z

Thanks. That was actually the first surprising issue I had, but I solved it yesterday 🙂

👍 1
simongray 2020-12-09T12:12:08.294500Z

I think I narrowed this issue down to having to do with a failing SSL handshake, probably because I imported some Let’s Encrypt certificates into a java keystore in a wrong way..? To be fair, for some inexplicable reason using a certificate in Pedestal/Java applications requires using a keystore file and importing the certificates into a keystore, apparently requires first converting them into a separate pkcs12 file… it’s all very convoluted and hard to understand :P

simongray 2020-12-09T15:44:23.298300Z

Fixed… the problem was actually just me destructuring the wrong key somewhere in my Clojure code… sigh