echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
showfooter();
showfooter();
exit;
exit;
}
}
$subject = "";
$subject = "";
if(is_array($_SESSION['_config']['rows']))
foreach($_SESSION['_config']['rows'] as $row)
foreach($_SESSION['_config']['rows'] as $row)
$subject .= "/CN=$row";
$subject .= "/CN=$row";
if(is_array($_SESSION['_config']['altrows']))
foreach($_SESSION['_config']['altrows'] as $row)
$subject .= "/subjectAltName=$row";
if($_SESSION['_config']['rowid']['0'] > 0)
{
$query = "insert into `domaincerts` set `CN`='".$_SESSION['_config']['rows']['0']."',
$query = "insert into `domaincerts` set `CN`='".$_SESSION['_config']['rows']['0']."',
`domid`='".$_SESSION['_config']['rowid']['0']."',
`domid`='".$_SESSION['_config']['rowid']['0']."',
`created`=NOW(),`subject`='$subject'";
`created`=NOW(),`subject`='$subject'";
} else {
$query = "insert into `domaincerts` set `CN`='".$_SESSION['_config']['altrows']['0']."',
`domid`='".$_SESSION['_config']['altid']['0']."',
`created`=NOW(),`subject`='$subject'";
}
mysql_query($query);
mysql_query($query);
$CSRid = mysql_insert_id();
$CSRid = mysql_insert_id();
if(is_array($_SESSION['_config']['rowid']))
foreach($_SESSION['_config']['rowid'] as $dom)
foreach($_SESSION['_config']['rowid'] as $dom)
mysql_query("insert into `domlink` set `certid`='$CSRid', `domid`='$dom'");
mysql_query("insert into `domlink` set `certid`='$CSRid', `domid`='$dom'");
if(is_array($_SESSION['_config']['altid']))
if(is_array($_SESSION['_config']['altid']))
@ -490,6 +522,13 @@
mysql_query("insert into `domlink` set `certid`='$CSRid', `domid`='$dom'");
mysql_query("insert into `domlink` set `certid`='$CSRid', `domid`='$dom'");
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
showfooter();
showfooter();
exit;
exit;
}
}
$subject = "";
$subject = "";
if(is_array($_SESSION['_config']['rows']))
foreach($_SESSION['_config']['rows'] as $row)
foreach($_SESSION['_config']['rows'] as $row)
$subject .= "/CN=$row";
$subject .= "/CN=$row";
if(is_array($_SESSION['_config']['altrows']))
foreach($_SESSION['_config']['altrows'] as $row)
$subject .= "/subjectAltName=$row";
mysql_query("update `domaincerts` set `subject`='$subject',`csr_name`='$newfile' where `id`='$newid'");
mysql_query("update `domaincerts` set `subject`='$subject',`csr_name`='$newfile' where `id`='$newid'");
@ -654,6 +703,7 @@
printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br>\n", $id);
printf(_("Invalid ID '%s' presented, can't do anything with it.")."<br>\n", $id);
continue;
continue;
}
}
mysql_query("update `emailcerts` set `renewed`='1' where `id`='$id'");
$row = mysql_fetch_assoc($res);
$row = mysql_fetch_assoc($res);
$query = "insert into `emailcerts` set `memid`='".$row['memid']."', `CN`='".$row['CN']."',
$query = "insert into `emailcerts` set `memid`='".$row['memid']."', `CN`='".$row['CN']."',
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
showfooter();
showfooter();
exit;
exit;
}
}
if($_SESSION['_config']['rowid']['0'] > 0)
{
$query = "select * from `org`,`orginfo` where
$query = "select * from `org`,`orginfo` where
`orginfo`.`id`='".$_SESSION['_config']['rowid']['0']."' and
`orginfo`.`id`='".$_SESSION['_config']['rowid']['0']."' and
`orginfo`.`id`=`org`.`orgid` and
`orginfo`.`id`=`org`.`orgid` and
`org`.`memid`='".$_SESSION['profile']['id']."'";
`org`.`memid`='".$_SESSION['profile']['id']."'";
} else {
$query = "select * from `org`,`orginfo` where
`orginfo`.`id`='".$_SESSION['_config']['altid']['0']."' and
`orginfo`.`id`=`org`.`orgid` and
`org`.`memid`='".$_SESSION['profile']['id']."'";
}
$org = mysql_fetch_assoc(mysql_query($query));
$org = mysql_fetch_assoc(mysql_query($query));
if($org['OU'])
if($org['OU'])
@ -1213,16 +1285,31 @@
$csrsubject .= "/commonName=$row";
$csrsubject .= "/commonName=$row";
if(is_array($_SESSION['_config']['altrows']))
if(is_array($_SESSION['_config']['altrows']))
foreach($_SESSION['_config']['altrows'] as $subalt)
foreach($_SESSION['_config']['altrows'] as $subalt)
$csrsubject .= "/subjectAltName=$subalt";
{
if($SAN != "")
$SAN .= ",";
$SAN .= "$subalt";
}
$query = "insert into `orgdomaincerts` set `CN`='".$_SESSION['_config']['0.CN']."',
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
echo _("CommonName field was blank. Can't continue.");
echo _("CommonName field was blank. This is usually caused by entering your own name when openssl prompt's you for 'YOUR NAME', or if you try to issue certificates for domains you haven't already verified, as such this process can't continue.");
<h3onclick="explode('WoT')">+ <?=_("CAcert Web of Trust")?></h3>
<h3onclick="explode('WoT')">+ <?=_("CAcert Web of Trust")?></h3>
<ulclass="menu"id="WoT"><li><ahref="wot.php?id=0"><?=_("About")?></a></li><li><ahref="wot.php?id=1"><?=_("Find an Assurer")?></a></li><li><ahref="wot.php?id=3"><?=_("Rules")?></a></li><li><?if($_SESSION['profile']['points']<100){?><ahref="wot.php?id=2"><?=_("Becoming an Assurer")?></a><?}else{?><ahref="wot.php?id=5"><?=_("Assure Someone")?></a><?}?></li><li><ahref="wot.php?id=4"><?=_("Trusted Third Parties")?></a></li><li><ahref="/docs/CAP.pdf"><?=_("WoT Form")?></a></li><li><ahref="/docs/TTP.pdf"><?=_("TTP Form")?></a></li></ul>
<ulclass="menu"id="WoT"><li><ahref="wot.php?id=0"><?=_("About")?></a></li><li><ahref="wot.php?id=1"><?=_("Find an Assurer")?></a></li><li><ahref="wot.php?id=3"><?=_("Rules")?></a></li><li><?if($_SESSION['profile']['points']<100){?><ahref="wot.php?id=2"><?=_("Becoming an Assurer")?></a><?}else{?><ahref="wot.php?id=5"><?=_("Assure Someone")?></a><?}?></li><li><ahref="wot.php?id=4"><?=_("Trusted Third Parties")?></a></li><li><ahref="/docs/CAP.pdf"><?=_("WoT Form")?></a></li><li><ahref="/docs/TTP.pdf"><?=_("TTP Form")?></a></li><?if($_SESSION['profile']['points']>50){?><li><ahref="wot.php?id=11"><nobr><?=_("Organisation Assurance")?></nobr></a></li><?}?></ul>
echo _("There were no valid CommonName fields on the CSR, or I was unable to match any of these against your account. Please review your CSR, or add and verify domains contained in it to your account before trying again.");
// echo _("There were no valid CommonName fields on the CSR, or I was unable to match any of these against your account. Please review your CSR, or add and verify domains contained in it to your account before trying again.");
echo _("There were no valid CommonName fields on the CSR, or I was unable to match any of these against your account. Please review your CSR, or add and verify domains contained in it to your account before trying again.");
// echo _("There were no valid CommonName fields on the CSR, or I was unable to match any of these against your account. Please review your CSR, or add and verify domains contained in it to your account before trying again.");
<p><?=_("Currently we do not issue certificates for Punycode domains as these have big security risks.")?></p>
<p><?=_("Currently we only issue certificates for Punycode domains if the person requesting them has code signing attributes attached to their account, as these have potentially slightly higher security risk.")?></p>
<br><br><?=_("The following hostnames were rejected because the system couldn't link them to your account, if they are valid please verify the domains against your account.")?><br>
the implied warranty of MERCHANTABILITY or FITNESS FOR A
the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the License for more details.
PARTICULAR PURPOSE. See the License for more details.
*/ ?>
*/ ?>
<p><?=_("Please Note: You only need to enter the main part of your domain, eg. mydomain.com rather then www.mydomain.com. Once you have verified your domain you are able to enter any sub-domain, such as www.mydomain.com or www.this.is.mydomain.com as the system checks from right to left, rather then specific hostnames when you upload a CSR to the system.")?></p>
<p><?=_("Please Note: You only need to enter the main part of your domain, eg. mydomain.com rather then www.mydomain.com. Once you have verified your domain you are able to enter any sub-domain, such as www.mydomain.com or www.this.is.mydomain.com as the system checks from right to left, rather then specific hostnames when you upload a CSR to the system.")?></p>
<p><?=_("Currently we only issue certificates for Punycode domains if the person requesting them has code signing attributes attached to their account, as these have potentially slightly higher security risk.")?></p>
<p><?=_("Currently we do not issue certificates for Punycode domains as these have big security risks.")?></p>
<u><?=_("Benefits")?>:</u><?=_("Digitally sign code, web applets, installers, etc. including your name and location in the certificates.")?><br><br>
<u><?=_("Benefits")?>:</u><?=_("Digitally sign code, web applets, installers, etc. including your name and location in the certificates.")?><br><br>
<u><?=_("Limitations")?>:</u><?=_("Certificates expires in 12 months; certificates <u>must</u> include your full name.")?><br><br>
<u><?=_("Limitations")?>:</u><?=_("Certificates expires in 12 months; certificates <u>must</u> include your full name.")?><br><br>
<u><?=_("Verification needed")?>:</u><?=_("Same as above plus get 100 assurance points by meeting with mulitple assurers from the CAcert Web of Trust, who verify your identity using your government issued photo identity documents.")?><br><br>
<u><?=_("Verification needed")?>:</u><?=_("Same as above plus get 100 assurance points by meeting with multiple assurers from the CAcert Web of Trust, who verify your identity using your government issued photo identity documents.")?><br><br>
if(mysql_num_rows(mysql_query("select * from `tverify` where `memid`='$memid'")) > 0)
$user = mysql_fetch_assoc(mysql_query("select * from `users` where `id`='$memid'"));
$tmp = mysql_fetch_assoc(mysql_query("select sum(`points`) as `points` from `notary` where `to`='$memid'"));
if($URL != "" && $nofile == 0)
$max = 150;
else if($URL != "")
$max = 90;
else
$max = 50;
if($tmp['points'] >= $max)
{
{
$id = 0;
showheader(_("Thawte Points Transfer"));
$_SESSION['_config']['errmsg'] = _("Unable to continue, request already exists.");
echo _("Your request would not gain you any more points and will not be taken any further.").sprintf(_("You have %s points already and you would have been issued up to %s points."), $tmp['points'], $max);
mysql_query("update `tverify` set `modified`=NOW() where `id`='$tverify'");
$body = _("Your request to have points transfered was sucessful. You were issued $points points as a result, and you now have $totalpoints in total")."\n\n";
$_SESSION['_config']['errmsg'] = _("The Pass Phrase you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. Only scored $score points out of 6.");
$_SESSION['_config']['errmsg'] = _("The Pass Phrase you submitted failed to contain enough differing characters and/or contained words from your name and/or email address. Only scored $score points out of 6.");
}
}
if($id == 2)
{
$query = "select * from `email` where `email`='".$_SESSION['signup']['email']."' and `deleted`=0";
$query = "select * from `email` where `email`='".$_SESSION['signup']['email']."' and `deleted`=0";
$res1 = mysql_query($query);
$res1 = mysql_query($query);
@ -278,6 +285,13 @@
$id = 1;
$id = 1;
$_SESSION['_config']['errmsg'] .= _("This email address is currently valid in the system.")."<br>\n";
$_SESSION['_config']['errmsg'] .= _("This email address is currently valid in the system.")."<br>\n";
$_SESSION['_config']['errmsg'] .= _("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."<br>\n";
$body .= _("You now have over 100 points and can start assuring others.")."\n\n";
$body .= _("You now have over 100 points and can start assuring others.")."\n\n";
$body .= _("To make it easier for others in your area to find you, it's helpful to list yourself as an assurer (this is voluntry), as well as a physical location where you live or work the most. You can flag your account to be listed, and add a comment to the display by going to:")."\n\n";