I found the fix for this.
See here:
http://moodle.org/mod/forum/discuss.php?d=104383
Custom certificate (plugin)
After SSL Certificates won't show up
This discussion has been locked so you can no longer reply to it.