Skip to main content

OpenSSL error: data too large for modulus

Comments

7 comments

  • cPanelLauren
    Hi @chris0147 Where are you sending it for validation and how are you generating the key? Usually that error is only seen when you're sending the standard 2048bit key somewhere that's expecting a 1024bit key.
    0
  • chris0147
    @cPanelLauren I am sending it for validation on the site called: dkimvalidator.com. It will tell me that if my site have pass the test or not. The DKIM key that I have generated from port25.com. I have changed from 2048bit key to 1024bit key and I am getting this: Validating Signature result = fail Details: OpenSSL error: data too large for key size
    Do you know why I am getting the error? I have checked on my other domain and it works fine so this domain I am using have a bit of problem so I need to get something to be looking at.
    0
  • cPanelLauren
    Hello, I don't know why you're receiving the error but it's not something specific to cPanel. You're generating the key using a separate site and checking it using a separate site. You can generate a DKIM key in cPanel by going to cPanel>>Email>>Authentication
    0
  • chris0147
    @cPanelLauren: Thank you for your advice. When I generated the DKIM key in cPanel, I can see the warnings I am getting: In order to ensure that SPF or DKIM takes effect, you must confirm that this server is an authoritative nameserver for "mydomain.com". If you need help, contact your hosting provider. Warning: cPanel is unable to verify that this server is an authoritative nameserver for "mydomain.com". Do you know why I am getting the warnings and how I can fix it??
    0
  • cPanelLauren
    Hi @chris0147 If the DNS for the domain isn't managed by your server (meaning the nameservers aren't pointed to the server) then you can generate the DKIM through cPanel but you'll need to add the record where DNS for the domain is hosted.
    0
  • chris0147
    @cPanelLauren: Thank you for your reply. Do you mean GoDaddy where I got my domain from or where I got my VPS from? Thank you.
    0
  • cPanelLauren
    Hi @chris0147 I mean essentially wherever the nameservers are pointed to. If you're using GoDaddy's DNS for the nameservers then you'd need to go there to add the record generated for you. Ultimately it sounds like the VPS isn't authoritative for the domain so chances are it's something that's going to need to be added at the registrar.
    0

Please sign in to leave a comment.