Checking Domain Expirations With RDAP Discussion
Excited to kick off a SaaS product series. Should we build more end-to-end projects like this?
for sure, always good to see and app build end to end with all the little things that come up along the way.
Hi Chris,
I got an error when following your video at 2:24
https://gorails.com/episodes/checking-domain-expirations-with-rdap
irb(main):003> RDAP.domain("google.com")
/Users/ericchua/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/rdap-0.1.5/lib/rdap.rb:77:in 'RDAP.get_follow_redirects': SSL_connect returned=1 errno=0 peeraddr=172.67.223.164:443 state=error: certificate verify failed (unable to get certificate CRL) (rdap.org) (RDAP::SSLError)
I tried microsoft.com, yahoo.com also having same issue.
I am using Mac OS Tahoe 26.1, brew updated, ruby 3.4.7 (installed via mise), have installed rdap 0.1.5.
Any help? Thanks.
Eric, add the openssl gem to your Gemfile to fix that error. Should be fixed in Ruby 4 too as that'll include the latest openssl built-in to Ruby.
Thanks, it works on project level gemfile, by adding
gem "openssl", "~> 3.3.2"
gem "rdap", "~> 0.1.5"
Then irb from project folder.