gogetssl / whmcs-addon

GOGETSSL WHMCS SSL Addon
MIT License
37 stars 22 forks source link

CSR validation blocks wildcard SSL #148

Closed NatsumeReiu closed 3 years ago

NatsumeReiu commented 3 years ago

The API decodeCSR returns below error message if the common name is a wildcard domain. "The Common Name (Domain Name: .futuregame.com.tw) may not contain a . Please buy Wildcard SSL Certificate for that CSR"

In the function SSLStepTwoJS (defined in addons/SSLCENTERWHMCS/eServices/provisioning/SSLStepTwoJS.php), once detecting an error when decoding CSR, it will throw an exception and stop rendering JS for approval emails.

DennisSkov commented 3 years ago

What version of the module are you using? AFAIK, that issue was fixed a long time ago.

vlad-evg commented 3 years ago

and what is the product you are trying to order?

NatsumeReiu commented 3 years ago

I have the issue with the latest version 2.4.10. I was trying to order PositiveSSL Wildcard.

vlad-evg commented 3 years ago

can you provide CSR please?

googlegame commented 3 years ago

same problem, PositiveSSL Wildcard

vlad-evg commented 3 years ago

Can you provide CSR code? We see no issues on our side

NatsumeReiu commented 3 years ago

Here's a CSR,

----BEGIN CERTIFICATE REQUEST----- [REMOVED FOR PRIVACY AFTER BUG FIXED] -----END CERTIFICATE REQUEST-----

vlad-evg commented 3 years ago

Fixed now https://github.com/gogetssl/whmcs-addon/issues/148