letsencrypt-cli 0.1.0.beta1 → 0.1.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/lib/letsencrypt/cli/acme_wrapper.rb +3 -3
- data/lib/letsencrypt/cli/app.rb +1 -1
- data/lib/letsencrypt/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ee840afe7b3b99a02ed340a99ae67fed641bc3
|
4
|
+
data.tar.gz: 7f6386f763b68d9ddf8b95804863efa57cacb67c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ada07e70db33b208e2a6e3dbf9f269f0d2d7c523672062501105e06737a589a798af0e7f92dc401387869d1d2131e317e7cf0753b8fcacd4fb8eb906bee0c282
|
7
|
+
data.tar.gz: 8fa6bd4884512ceae4f4c9e40a68121c471f0697ca2303b8fbf50e02f8d4a66ecc08a9a53543077a1dc13bfba3d5266df4b884c9cd4acd520de978d003af2898
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Letsencrypt::Cli
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/zealot128/ruby-letsencrypt-cli.svg?branch=travis)](https://travis-ci.org/zealot128/ruby-letsencrypt-cli)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/letsencrypt-cli.svg)](https://badge.fury.io/rb/letsencrypt-cli)
|
5
4
|
|
6
5
|
Yet another Letsencrypt client using Ruby.
|
7
6
|
|
@@ -15,7 +14,7 @@ Yet another Letsencrypt client using Ruby.
|
|
15
14
|
|
16
15
|
## Usage
|
17
16
|
|
18
|
-
Specify ``-
|
17
|
+
Specify ``-p`` to use letsencrypt production server. Without it, all requests are called against the staging server. (live server has some hard rate limiting, so use the staging server for playing first).
|
19
18
|
|
20
19
|
```bash
|
21
20
|
# show all commands
|
@@ -26,19 +25,19 @@ letsencrypt-cli help
|
|
26
25
|
letsencrypt-cli help cert
|
27
26
|
|
28
27
|
# creates account_key.json in current_dir
|
29
|
-
letsencrypt-cli register -
|
28
|
+
letsencrypt-cli register -p myemail@example.com
|
30
29
|
|
31
30
|
|
32
31
|
# authorize one or more domains/subdomains
|
33
|
-
letsencrypt-cli authorize -
|
32
|
+
letsencrypt-cli authorize -p --webroot-path /var/www/default example.com www.example.com somedir.example.com
|
34
33
|
|
35
34
|
# experimental: authorize all server_names in /etc/nginx/sites-enabled/*
|
36
|
-
letsencrypt-cli authorize_all -
|
35
|
+
letsencrypt-cli authorize_all -p --webroot-path /var/www/default
|
37
36
|
|
38
37
|
|
39
38
|
# create a certificate for before authorized domains.
|
40
39
|
# the first domain will be the cn subject. All other are subjectAlternateName
|
41
|
-
letsencrypt-cli cert
|
40
|
+
letsencrypt-cli cert example.com www.exaple.com somdir.example.com
|
42
41
|
# will create key.pem fullchain.pem chain.pem and cert.pem
|
43
42
|
```
|
44
43
|
|
data/lib/letsencrypt/cli/app.rb
CHANGED
@@ -5,7 +5,7 @@ module Letsencrypt
|
|
5
5
|
module Cli
|
6
6
|
class App < Thor
|
7
7
|
class_option :account_key, desc: "Path to private key file (will be created if not exists)", aliases: "-a", default: 'account_key.pem'
|
8
|
-
class_option :
|
8
|
+
class_option :production, desc: "Use production url of letsencrypt instead of staging server", aliases: "-p", type: :boolean
|
9
9
|
class_option :log_level, desc: "Log Level (debug, info, warn, error, fatal)", default: "info"
|
10
10
|
class_option :color, desc: "Disable colorize", default: true, type: :boolean
|
11
11
|
|