4 changed files with 33 additions and 0 deletions
@ -0,0 +1 @@ |
|||
js/pkijs.org |
@ -0,0 +1,19 @@ |
|||
<html> |
|||
<head> |
|||
<title>Greenlock™</title> |
|||
</head> |
|||
<body> |
|||
<form> |
|||
<label>What's your domain?</label> |
|||
<input type="text" placeholder="www.example.com"> |
|||
<button type="submit">Next</button> |
|||
</form> |
|||
|
|||
<input class="js-acme-directory-url" type="url" placeholder="ACME directory url"> |
|||
<script src="./js/pkijs.org/v1.3.33/common.js"></script> |
|||
<script src="./js/pkijs.org/v1.3.33/asn1.js"></script> |
|||
<script src="./js/pkijs.org/v1.3.33/x509_schema.js"></script> |
|||
<script src="./js/pkijs.org/v1.3.33/x509_simpl.js"></script> |
|||
<script src="./js/app.js"></script> |
|||
</body> |
|||
</html> |
@ -0,0 +1,6 @@ |
|||
mkdir -p js/pkijs.org/v1.3.33/ |
|||
pushd js/pkijs.org/v1.3.33/ |
|||
wget -c https://raw.githubusercontent.com/PeculiarVentures/PKI.js/41b63af760cacb565dd850fb3466ada4ca163eff/org/pkijs/common.js |
|||
wget -c https://raw.githubusercontent.com/PeculiarVentures/PKI.js/41b63af760cacb565dd850fb3466ada4ca163eff/org/pkijs/x509_schema.js |
|||
wget -c https://raw.githubusercontent.com/PeculiarVentures/PKI.js/41b63af760cacb565dd850fb3466ada4ca163eff/org/pkijs/x509_simpl.js |
|||
wget -c https://raw.githubusercontent.com/PeculiarVentures/ASN1.js/f7181c21c61e53a940ea24373ab489ad86d51bc1/org/pkijs/asn1.js |
@ -0,0 +1,7 @@ |
|||
(function () { |
|||
'use strict'; |
|||
|
|||
console.log("Hello, World!"); |
|||
|
|||
window.document.querySelector('.js-acme-directory-url').value = 'https://acme-staging-v02.api.letsencrypt.org/directory'; |
|||
}()); |
Loading…
Reference in new issue