letsencrypt-simple icon indicating copy to clipboard operation
letsencrypt-simple copied to clipboard

Detailing the README.md

Open chmike opened this issue 9 years ago • 0 comments

It would help if you could detail the installation procedure

  1. $ sudo apt-get install python3
  2. $ git clone [email protected]:barosl/letsencrypt-simple.git
  3. $ cd letsencrypt-simple
  4. $ virtualenv -p /usr/bin/python3 venv
  5. $ source venv/bin/activate
  6. $ pip install -r requirements.txt
  7. $ cp cfg.sample.toml cfg.toml
  8. Add apropriate domains
  9. $ ./letsencrypt-simple.py

I may still missing something because I get an exception:

(venv) - ~/Sources/letsencrypt-simple [master|\u2026416] 
16:03 $ ./letsencrypt-simple.py 
Generating RSA private key, 2048 bit long modulus
..........+++
.....................................................+++
unable to write 'random state'
e is 65537 (0x10001)
Traceback (most recent call last):
  File "./letsencrypt-simple.py", line 191, in <module>
    main()
  File "./letsencrypt-simple.py", line 147, in main
    cli = Client(ACCOUNT_KEY_FILE, api_url=api_url)
  File "./letsencrypt-simple.py", line 64, in __init__
    mod, exp = load_pub_key(account_key)
  File "./letsencrypt-simple.py", line 38, in load_pub_key
    mod = codecs.decode(mod, 'hex')
LookupError: unknown encoding: hex
(venv) X ~/Sources/letsencrypt-simple [master|\u2026416] 
16:04 $ 

chmike avatar Jan 25 '16 15:01 chmike