thisismissem,
@thisismissem@hachyderm.io avatar

That thing #digitalocean do with using a custom CA certificate for databases is really fucking annoying.

giuliohome,
@giuliohome@mastodon.world avatar

@thisismissem Maybe this is related https://mastodon.world/@giuliohome/111338180540250101
To be honest, I like DigitalOcean's simplicity. Instead of installing a operator on (which is however a good exercise on their DOKR), you can offload some resources but yeah searching for hidden Helm chart configuration settings can be annoying indeed 😉

thisismissem,
@thisismissem@hachyderm.io avatar

@giuliohome I don't think that's related. This is that out of the box, their app platform cannot talk to their database platform without doing a whole weird dance with custom SSL certificates — I'm sure the digitalocean team knows about this mess (cc @elan )

giuliohome,
@giuliohome@mastodon.world avatar

@thisismissem @elan what I am saying is. If I create a managed postrgres there I see that I can connect via psql but from golang it's tricky because I have to set ssl=require to make the connection work. It does seem related to what you have written above IMHO

giuliohome,
@giuliohome@mastodon.world avatar

@thisismissem @elan and also my export SQL_TLS_DISABLE_HOST_VERIFICATION=1 seems related to avoiding "a whole weird dance with custom SSL certificates" as far as an exercise, a tutorial or a "proof of concept" demo are concerned... Anyway, thanks for your interesting "toots"

thisismissem,
@thisismissem@hachyderm.io avatar

@giuliohome @elan you really don't wanna be disabling TLS host verification.. that's the equivalent of saying "don't care about the information in the certificate, just let me connect dammit"

giuliohome,
@giuliohome@mastodon.world avatar

@thisismissem @elan sure ;-) I know what I am doing of course it's not for production or even test, but just for hacking. If I want to test a dotnet activity in temporal cluster and I'm starting from scratch from creating a new k8s cluster that I'll delete eventually, the part where I connect postgresql is "just let me do that"... but yeah I agree that the certificate "dance" is always annoying. And can be due also to private enterprise cert root auth, not only to DO

elan,
@elan@publicsquare.global avatar
thisismissem,
@thisismissem@hachyderm.io avatar

@elan @giuliohome yes, but you've gotta set it via environment variable and do this weird run step thing to write it to disk.

It'd be better if you had certificates that weren't self-signed (e.g., having a trust root that goes back to a trusted trust root?)

elan,
@elan@publicsquare.global avatar

@thisismissem @giuliohome yes I agree.

I'll talk to the PM tomorrow and pass along to feedback.

thisismissem,
@thisismissem@hachyderm.io avatar

@elan @giuliohome this seriously tripped me up when I used the app platform, as I expected DO's managed databases to just “work" with the app platform, but instead I had to configure all this stuff about SSL/TLS certificates.

elan,
@elan@publicsquare.global avatar

@thisismissem @giuliohome I actually work on app platform. I can help!

elan,
@elan@publicsquare.global avatar
bdube,

@thisismissem I had the same annoyance with Linode's database offering and certificates. And today I got a notice that their managed databases are going on hold while they rework the whole thing.

thisismissem,
@thisismissem@hachyderm.io avatar

First experiences of #DigitalOcean's managed App platform is not fantastic at all. Defaults to Node.js 16.x which is EOL, when you create an application database and database user, it defaults to not having the appropriate permissions, so you've gotta add your own IP Address as a trusted source, then connect via psql and issue a bunch of comments.

Also it's unclear what I'm meant to do with the app spec? Am I meant to commit that to repo?

thisismissem,
@thisismissem@hachyderm.io avatar

Oh, and health checks? LOL, good luck. Half the time it's like “health check failed" even though the server is absolutely running. Needed to add an health_check.initial_delay_seconds because this server needs to migrate db on startup (not my preferred way but whatever)

thisismissem,
@thisismissem@hachyderm.io avatar

pft. I think maybe I've worked it out, for safety this app binds to 127.0.0.1 by default, but I guess maybe DigitalOcean's App platform needs you to bind to 0.0.0.0 ?

janl,
@janl@narrativ.es avatar

@thisismissem it felt very “we barely got this stood up” when I played with it ~2y ago. Sounds like it didn’t improve much.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • everett
  • magazineikmin
  • Durango
  • InstantRegret
  • rosin
  • Youngstown
  • love
  • slotface
  • GTA5RPClips
  • kavyap
  • mdbf
  • ngwrru68w68
  • megavids
  • thenastyranch
  • tacticalgear
  • cubers
  • modclub
  • osvaldo12
  • cisconetworking
  • tester
  • khanakhh
  • normalnudes
  • provamag3
  • anitta
  • Leos
  • JUstTest
  • All magazines