If you are using the PHP OpenID library (which is also used by my OpenID component for CakePHP), it is possible that you get an “Invalid OpenID” error when you try to login with the Google OpenID (https://www.google.com/accounts/o8/id), or any other OpenID that uses “https”.
In this case, the following steps might help to fix this issue:
- Ensure you have Curl and OpenSSL installed
- Enable the Curl and OpenSSL extensions in your php.ini (on Archlinux this file is found in /etc/php/):
extension=curl.so extension=openssl.so - Restart your web server
Now the error message should disappear and you should be able to log in with the Google OpenID.
—-
That’s it for 2009. It was a rather lazy year on this blog from my side (I didn’t even manage to do a redesign…), and so I hope I will be a bit less lazy with writing on this blog in 2010.
Anyway, thank you for reading this blog, and for all your comments and emails. A Happy New Year everyone & cu in 2010 :)

[...] Accepting the Google OpenID with PHP OpenID () [...]
[...] Accepting the Google OpenID with PHP OpenID (0 visite) [...]
I recently had a similar issue when trying to access the Prowl (prowl.weks.net) service with PHP over SSL. It didn’t occur to me that I needed to enable openssl in my php.ini file. It took me about 7 hours to accidentally stumble upon that. Unlike the PHP Open ID library, I wasn’t getting any error message, the return payload was simply null.
How long did it take you to find this out?
@Brendon: Thanks for your comment!
It took me quite a while to figure out this thing ;-)