Voilà les résultats des commandes :
# ls -l /tmp/acme-challenge-public
total 0
La suivante est assez encombrante…
#echo "plop" > /tmp/acme-challenge-public/toto
# curl http://duniter.youpeek.net/.well-known/acme-challenge/toto
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Pragma" content="no-cache">
<link rel="stylesheet" href='stylemain.css' type='text/css'>
<script language="javascript" src="aye_util.js"></script>
<title>D-Link ADSL Router</title>
<script language="javascript">
<!--
if(FAKEUI == true)
{
var Lang = [{'language':'en'}];
var passwdInfo = [{'username':'', 'timeout':'10','captcha':'0'}];
var accessInfo = [{'mode':'LAN', 'ipaddr':'192.168.0.1'}];
}
else
{
var Lang = eval("[{'language':'en'}]");
var passwdInfo = eval("[{'adminUserName':'admin','supportUserName':'support','userUserName':'user','timeout':'10','captcha':
'0'}]");
var accessInfo = eval("[{'mode':'WAN','ipaddr':''}]");
}
var time_out = passwdInfo[0].timeout;
var loginerrflag = false;
var regen_count = 0;
//check login authentication
if(typeof(aye_response) !== 'undefined' && aye_response != null) {
var msg1 = aye_response.split("!!");
if(msg1[0]!='Status:0'){
// Remove cookie
deleteAllCookies();
loginerrflag = true;
}else{
var sessionKey = aye_response.split("sessionkey=")[1];
Set_Cookie( 'sessionKey', sessionKey, '1', '/');
ayeSubmit('location=\'index.html\'');
}
}else{
// Remove cookie
deleteAllCookies();
}
language =( typeof(Lang[0].language) !== 'undefined' && Lang[0].language != 'unknown' && Lang != null ) ? Lang[0].language : 'en
' ;
Set_Cookie( 'MultiLingual', language, '1', '/');
if(accessInfo[0].mode != 'null' && accessInfo[0].ipaddr != 'null')
{
Set_Cookie('AccessMode',accessInfo[0].mode,'1','/');
}
document.write("<script language='javascript' charset='utf-8' src='js\/"+language+"\/glb_str.js'><\/script>");
document.write("<script language='javascript' charset='utf-8' src='js\/"+language+"\/login.js'><\/script>");
/*
* check client's ip-address and how comes from(WAN/LAN).
*/
function checkResult(){
if ((xmlRequest.readyState == 4) && (xmlRequest.status == 200)) {
var tmp = xmlRequest.responseText;
alert(tmp);
var rslt_info = eval(tmp);
var Result = new Array();
alert("!!!");
alert(rslt_info);
Result = eval(getAyeResult(rslt_info));
var tmp='';
var Result_Value = new Array();
for(var i=1; i<Result.length; i++)
tmp += Result[i];
Result_Value = eval(tmp);
alert(tmp);
}
}
function frmLoad(){
with ( document.forms[0] )
{
if(loginerrflag == true)
{
tryagain_btn.value = aye_btn(glb_try_again_btn);
document.getElementById('loginerror').style.display='';
document.getElementById('maincontent').style.display='none';
}
}
}
var captchaEnbl= passwdInfo[0].captcha;
if(typeof(UPNP_DEV_MODEL_DESCRIPTION) == 'undefined')
{
var ModemVer = 'undefined';
}
else
{
var ModemVer = UPNP_DEV_MODEL_DESCRIPTION;
}
if(typeof(AYECOM_AREA) == 'undefined' || typeof(AYECOM_FWVER) == 'undefined')
{
var FirmwareVer = 'undefined';
}
else
{
var FirmwareVer = AYECOM_AREA + '_' + AYECOM_FWVER;
}
if(typeof(AYECOM_HWVER) == 'undefined')
{
var HardwareVer = 'undefined';
}
else
{
var HardwareVer = AYECOM_HWVER;
}
var POL = "0";
function returnlogin() {
loc = 'login.html';
code = 'location="' + loc + '"';
ayeSubmit(code);
}
function convert(val)
// this converts a given char to url hex form
{
return "%" + decToHex(val.charCodeAt(0), 16);
}
function decToHex(num, radix)
// part of the hex-ifying functionality
{
var hexString = "";
while ( num >= radix ) {
temp = num % radix;
num = Math.floor(num / radix);
hexString += hexVals[temp];
}
hexString += hexVals[num];
return reversal(hexString);
}
function reversal(s)
// part of the hex-ifying functionality
{
var len = s.length;
var trans = "";
for (i = 0; i < len; i++)
trans = trans + s.substring(len-i-1, len-i);
s = trans;
return s;
}
var hexVals = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"A", "B", "C", "D", "E", "F");
var unsafeString = "\"<>%\\^[]`\+\$\,'#&";
// deleted these chars from the include list ";", "/", "?", ":", "@", "=", "&" and #
// so that we could analyze actual URLs
function isUnsafe(compareChar)
// this function checks to see if a char is URL unsafe.
// Returns bool result. True = unsafe, False = safe
{
if ( unsafeString.indexOf(compareChar) == -1 && compareChar.charCodeAt(0) > 32
&& compareChar.charCodeAt(0) < 123 )
return false; // found no unsafe chars, return false
else
return true;
}
function encodeUrl(val)
{
var len = val.length;
var i = 0;
var newStr = "";
var original = val;
var hasField = false;
(post trop gros, je le coupe en deux)