Jump to content

Email Address missing from Certificate Approver Email page - SSL


Dtorr1981

Recommended Posts

Hi All,

 

I am doing some testing on my site before going live, and am currently working out the customer process for setting up an SSL certificate. So...

 

I have purchased the SSL and it is showing in my client area. I then click on it and it gives me the option to 'Configure Now'. The next page asks me fr the CSR which i have generated in Cpanel and pasted in, i have filled in the rest of the details and clicked continue.

 

This page is titled: Certificate Approver Email

 

However, in the list of emails the specific email address i set up 'support@mydomain.co.uk' does not show, the addresses listed are:

 

admin@mydomain.co.uk

administrator@mydomain.co.uk

hostmaster@mydomain.co.uk

postmaster@mydomain.co.uk

webmaster@mydomain.co.uk

 

Any ideas? Im guessing these are default addresses which i have not set up? Is this a security feature?

 

Any feedback would be fantastic.

 

Best Regards

Donna

Link to comment
Share on other sites

I am having problems replying to this for some reason, this is the 3rd time now....hmm...

 

Anyway, i am using TheSSLSTore for my SSL certs, so am using their module. Apart from that everything else is stock i believe. I did notice that in the product setup i hadn't checked Autoinstall..but i am not sure whether that is just related to the Cpanel AutoInstall module, which is not installed on my server?

 

I just want to try and make it as easy and quick as possible for myself and the customer to set up a basic SSL Cert.

 

Thank you for your support.

Best Regards

Donna

Link to comment
Share on other sites

I am using reeller hosting so i do not have access to install cpanel plugins, i have raised a ticket though to see if it is possible for them to install it for me.

 

The email address 'Support@mydomain.co.uk' is the one set up via Cpanel for the domain. None of the others appear in Cpanel --> Email accounts, as i guess they just redirect to the master account? I'm just trying to figure it all out so i cant document it if necessary. I have only ever installed them through WHM/Cpanel before.

 

Best Regards

Donna

Link to comment
Share on other sites

I have just recreated the CSR with the email address that i have also created in Cpanel, however it still does not appear in the list to select? There is a radio button at the bottom of the list without a value however so i'm starting to wonder if there is an error retrieving the email address? I dunno, i'm stumped.

 

I could just install it from the back end, but if this happens for the customer its going to be a real pain.

 

This is an addon domain by the way, incase that is related?

 

Best Regards

Donna

Link to comment
Share on other sites

I have changed the template and still i am having no luck with this one. I have attached a screen shot of the screen. There must be some sort of coding issue with this as there is an empty radio button? WHMCS SSL CERT.png

 

Has anyone seen this problem before, or can you advise where i begin to troubleshoot this? Is it a core file or related to my SSL provider module

 

Best Regards

Donna

Link to comment
Share on other sites

that image shows six/configuressl-steptwo.tpl - though it's possible some of its values might be being provided by the SSL module.

 

i'd be tempted to do two things... one, throw a {debug} into the end of the template and see what the above array values are and if the the last value is empty.

 

secondly, with the SSL Store module being third-party, it might be worth contacting their support about this.

Link to comment
Share on other sites

that image shows six/configuressl-steptwo.tpl - though it's possible some of its values might be being provided by the SSL module.

 

i'd be tempted to do two things... one, throw a {debug} into the end of the template and see what the above array values are and if the the last value is empty.

 

secondly, with the SSL Store module being third-party, it might be worth contacting their support about this.

 

I have sent a support request to the SSL Store as i have tried to update the module to see if thats where the issue lies, but there is an error with the new module when trying to edit a product.

 

I am trying to figure out how the {debug} works? I have added it to my footer.tpl file but im not seeing anything at all on the page? I have never used this function before so i must have missed something?

 

Edit: My popup blocker was blocking the debug. I'm looking into it now.

 

Edit 2: The last value in the array is empty so I am a bit confused as to what is happening.

 

The code from my configuressl-steptwo.tpl file is:

{if $errormessage}
   {include file="$template/includes/alert.tpl" type="error" errorshtml=$errormessage}
{/if}

<form class="form-horizontal" method="post" action="{$smarty.server.PHP_SELF}?cert={$cert}&step=3">

   {include file="$template/includes/subheader.tpl" title=$LANG.sslcertapproveremail}

   <p>{$LANG.sslcertapproveremaildetails}</p>

   <div class="row">
       <div class="col-sm-10 col-sm-offset-1">
           <div class="form-group">
               {foreach from=$approveremails item=approveremail key=num}
                   <div class="radio">
                       <label>
                           <input type="radio" name="approveremail" value="{$approveremail}"{if $num eq 0} checked{/if}>
                           {$approveremail}
                       </label>
                   </div>
               {/foreach}
           </div>
       </div>
   </div>

   <p class="text-center">
       <input type="submit" value="{$LANG.ordercontinuebutton}" class="btn btn-primary" />
   </p>

</form>

 

Any ideas where {$approveremail} comes from?

 

Regards

Donna

Edited by Dtorr1981
Link to comment
Share on other sites

i'd have added it to the end of six/configuressl-steptwo.tpl as this will be the template that contains the array of email addresses used by the foreach loop.

 

what should happen, when you refresh the page, is it should generate a popup window of all the Smarty arrays/variables available to that page - you'd have to ensure your browser isn't blocking the popup though.

Link to comment
Share on other sites

my suspicion is that it's being generated by the SSLStore module - I can't recall using the module, so I don't know if it's encrypted or not... but assuming that blank radio isn't a bug, one possible conclusion is that there is a comma-separated list of email addresses somewhere that maybe ends in a comma and WHMCS (or module) is interpreting that as a blank option. :?:

 

btw - Smarty is just used on the front of WHMCS... whatever is doing this will almost be certainly written in PHP somewhere. :idea:

Link to comment
Share on other sites

Ok thanks, I did try and look at the SSL Store code but i think it is encrypted. What a pain, i was hoping to tick this off my list today. I'll await a response to my support ticket, hopefully it will get resolved so i can answer this question for anyone who has this problem in the future.

 

Thank you for your help.

Regards

Donna

Link to comment
Share on other sites

$approveremail generated by thesslstore module, I would say the error is module unable to parse the email address correctly from CSR code.

 

maybe SSLStore support can help in this regard, if they didn't I can take a look at it

Link to comment
Share on other sites

$approveremail generated by thesslstore module, I would say the error is module unable to parse the email address correctly from CSR code.

 

maybe SSLStore support can help in this regard, if they didn't I can take a look at it

 

Hi sentq, I have rasied a support ticket with regards to an error being thrown by the updated module, as when trying to edit an existing product with the latest module i am getting :

 

Fatal error: Cannot redeclare gettokens() in /home10/wwwsitew/public_html/hosting/modules/servers/thesslstorefullv2/thesslstorefullv2.php on line 1816

 

Unfortunately the code is encrypted in that file so I cannot see what the issue is? Are you familiar with the module?

 

Regardless of which version of the module i activate though, i still see the same behaviour on the front end regarding the email addresses. I have regenerated the CSR a number of times but have still had the same issue. The original version of the SSL module was 1.45 and the version i have just installed is 2.6?

 

It's all very odd.

 

Regards

Donna

Link to comment
Share on other sites

As an update, the backend of the module is now working and i am able to update the products in the backend. I had to remove the older version of the module completely and re-install the new version and this rectified the problem. Ok, now back to the original issue, with the new module i cannot even get to the certificate approver email page, as once i hit continue after inserting the generated CSR it get redirected back to the login page? I have passed this back to The SSL Store but am awaiting a response, so i though i would come back here and see if anyone has any suggestions?

 

Best Regards

Donna

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated