letsencrypt_plugin 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/letsencrypt_plugin/application_controller.rb +1 -1
- data/app/models/letsencrypt_plugin/challenge.rb +2 -2
- data/config/initializers/letsencrypt_plugin.rb +3 -3
- data/lib/letsencrypt_plugin.rb +26 -21
- data/lib/letsencrypt_plugin/version.rb +1 -1
- data/lib/tasks/letsencrypt_plugin_tasks.rake +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +3191 -0
- data/test/letsencrypt_plugin_test.rb +157 -25
- data/test/rotator.sublime-project +8 -0
- data/test/rotator.sublime-workspace +1079 -0
- data/test/test_helper.rb +1 -14
- metadata +9 -23
- data/app/assets/javascripts/letsencrypt_plugin/application.js +0 -13
- data/app/assets/stylesheets/letsencrypt_plugin/application.css +0 -15
- data/app/helpers/letsencrypt_plugin/application_helper.rb +0 -4
- data/app/views/layouts/letsencrypt_plugin/application.html.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 029c1218c9db172c1620924b269cfa991ba3f66e
|
4
|
+
data.tar.gz: f20e29d34a23f257ad2f8c64da627256b3cefe57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8250281734d84cb333efd9588482290a42033e90d672da5a2a56927803ae117ce27275308ae19dc41e1962327e1bf39bbc648761b8c42b47f510202c7ece14cb
|
7
|
+
data.tar.gz: 7571ed0747f6753aeecdd33729e5941290759589688c6c7d782056c48831b92c5e3a5ba036bbf3382418e3691a3e57ef878e76e72add98917a3f1e12aa798c0d
|
@@ -17,7 +17,7 @@ module LetsencryptPlugin
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def challenge_response
|
20
|
-
@response =
|
20
|
+
@response = LetsencryptPlugin.config.challenge_dir_name ? Challenge.new : Challenge.first
|
21
21
|
challenge_failed('Challenge failed - Can not get response from database!') if @response.nil?
|
22
22
|
end
|
23
23
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module LetsencryptPlugin
|
2
2
|
# if the project doesn't use ActiveRecord, we assume the challenge will
|
3
3
|
# be stored in the filesystem
|
4
|
-
if defined?(ActiveRecord::Base) == 'constant' && ActiveRecord::Base.class == Class
|
4
|
+
if LetsencryptPlugin.config.challenge_dir_name.blank? && defined?(ActiveRecord::Base) == 'constant' && ActiveRecord::Base.class == Class
|
5
5
|
class Challenge < ActiveRecord::Base
|
6
6
|
end
|
7
7
|
else
|
@@ -9,7 +9,7 @@ module LetsencryptPlugin
|
|
9
9
|
attr_accessor :response
|
10
10
|
|
11
11
|
def initialize
|
12
|
-
full_challenge_dir = File.join(Rails.root,
|
12
|
+
full_challenge_dir = File.join(Rails.root, LetsencryptPlugin.config.challenge_dir_name, 'challenge')
|
13
13
|
@response = IO.read(full_challenge_dir)
|
14
14
|
end
|
15
15
|
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
config = YAML.load_file(Rails.root.join('config', 'letsencrypt_plugin.yml'))
|
2
|
+
config.merge! config.fetch(Rails.env, {})
|
3
|
+
LetsencryptPlugin.config = config
|
data/lib/letsencrypt_plugin.rb
CHANGED
@@ -7,8 +7,18 @@ require 'openssl'
|
|
7
7
|
require 'acme/client'
|
8
8
|
|
9
9
|
module LetsencryptPlugin
|
10
|
+
Config = Class.new(OpenStruct)
|
11
|
+
def self.config=(options)
|
12
|
+
@config = Config.new(options || {})
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.config
|
16
|
+
@config || Config.new
|
17
|
+
end
|
18
|
+
|
10
19
|
class CertGenerator
|
11
20
|
attr_reader :options
|
21
|
+
attr_writer :client
|
12
22
|
|
13
23
|
def initialize(options = {})
|
14
24
|
@options = options
|
@@ -28,21 +38,18 @@ module LetsencryptPlugin
|
|
28
38
|
end
|
29
39
|
|
30
40
|
def generate_certificate
|
31
|
-
create_client
|
32
41
|
register
|
33
|
-
|
34
42
|
domains = @options[:domain].split(' ')
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
end
|
43
|
+
return unless authorize_and_handle_challenge(domains)
|
44
|
+
# We can now request a certificate
|
45
|
+
Rails.logger.info('Creating CSR...')
|
46
|
+
save_certificate(@client.new_certificate(Acme::Client::CertificateRequest.new(names: domains)))
|
47
|
+
Rails.logger.info('Certificate has been generated.')
|
41
48
|
end
|
42
49
|
|
43
|
-
def
|
50
|
+
def client
|
44
51
|
@client ||= Acme::Client.new(private_key: load_private_key, endpoint: @options[:endpoint])
|
45
|
-
rescue
|
52
|
+
rescue StandardError => e
|
46
53
|
Rails.logger.error(e.to_s)
|
47
54
|
raise e
|
48
55
|
end
|
@@ -52,34 +59,32 @@ module LetsencryptPlugin
|
|
52
59
|
end
|
53
60
|
|
54
61
|
def privkey_path
|
55
|
-
|
62
|
+
raise 'Private key is not set, please check your '\
|
56
63
|
'config/letsencrypt_plugin.yml file!' if @options[:private_key].nil? || @options[:private_key].empty?
|
57
64
|
File.join(Rails.root, @options[:private_key])
|
58
65
|
end
|
59
66
|
|
60
67
|
def open_priv_key
|
61
68
|
private_key_path = privkey_path
|
62
|
-
|
69
|
+
raise "Can not open private key: #{private_key_path}" unless File.exist?(private_key_path) && !File.directory?(private_key_path)
|
63
70
|
OpenSSL::PKey::RSA.new(File.read(private_key_path))
|
64
71
|
end
|
65
72
|
|
66
73
|
def load_private_key
|
67
74
|
Rails.logger.info('Loading private key...')
|
68
75
|
private_key = open_priv_key
|
69
|
-
|
76
|
+
raise "Invalid key size: #{private_key.n.num_bits}." \
|
70
77
|
' Required size is between 2048 - 4096 bits' unless valid_key_size?(private_key)
|
71
78
|
private_key
|
72
79
|
end
|
73
80
|
|
74
81
|
def register
|
75
82
|
Rails.logger.info('Trying to register at Let\'s Encrypt service...')
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
Rails.logger.info('Already registered.')
|
82
|
-
end
|
83
|
+
registration = client.register(contact: "mailto:#{@options[:email]}")
|
84
|
+
registration.agree_terms
|
85
|
+
Rails.logger.info('Registration succeed.')
|
86
|
+
rescue
|
87
|
+
Rails.logger.info('Already registered.')
|
83
88
|
end
|
84
89
|
|
85
90
|
def common_domain_name
|
@@ -88,7 +93,7 @@ module LetsencryptPlugin
|
|
88
93
|
|
89
94
|
def authorize(domain = common_domain_name)
|
90
95
|
Rails.logger.info("Sending authorization request for: #{domain}...")
|
91
|
-
@authorization =
|
96
|
+
@authorization = client.authorize(domain: domain)
|
92
97
|
end
|
93
98
|
|
94
99
|
def store_challenge(challenge)
|
@@ -10,6 +10,6 @@ end
|
|
10
10
|
|
11
11
|
desc "Generates SSL certificate using Let's Encrypt service"
|
12
12
|
task letsencrypt_plugin: :setup_logger do
|
13
|
-
cert_generator = LetsencryptPlugin::CertGenerator.new(
|
13
|
+
cert_generator = LetsencryptPlugin::CertGenerator.new(LetsencryptPlugin.config.to_h)
|
14
14
|
cert_generator.generate_certificate
|
15
15
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -8791,3 +8791,3194 @@ LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
|
8791
8791
|
Loading private key...
|
8792
8792
|
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
8793
8793
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8794
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8796
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
8797
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-24 19:07:13', '2016-01-24 19:07:13', 980190962)
|
8798
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-24 19:07:13', '2016-01-24 19:07:13', 298486374)[0m
|
8799
|
+
[1m[35m (73.9ms)[0m commit transaction
|
8800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8801
|
+
------------------------------------------------------------------------
|
8802
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
8803
|
+
------------------------------------------------------------------------
|
8804
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8805
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
8806
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
8807
|
+
Rendered text template (0.1ms)
|
8808
|
+
Completed 200 OK in 17ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
8809
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
8810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8811
|
+
-----------------------------------------------------------------------------------------------------------------
|
8812
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
8813
|
+
-----------------------------------------------------------------------------------------------------------------
|
8814
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8815
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
8816
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
8817
|
+
Challenge failed - Request has invalid length!
|
8818
|
+
Rendered text template (0.0ms)
|
8819
|
+
Filter chain halted as :validate_length rendered or redirected
|
8820
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
8821
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8822
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8823
|
+
----------------------------------------------------------------------------------------------------------------
|
8824
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
8825
|
+
----------------------------------------------------------------------------------------------------------------
|
8826
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8827
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
8828
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
8829
|
+
Challenge failed - Request has invalid length!
|
8830
|
+
Rendered text template (0.0ms)
|
8831
|
+
Filter chain halted as :validate_length rendered or redirected
|
8832
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
8833
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8835
|
+
-------------------------------------------------------------------
|
8836
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
8837
|
+
-------------------------------------------------------------------
|
8838
|
+
Loading private key...
|
8839
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
8840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8842
|
+
-------------------------------------------------------------------
|
8843
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
8844
|
+
-------------------------------------------------------------------
|
8845
|
+
Loading private key...
|
8846
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
8847
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8848
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8849
|
+
-----------------------------------------------------------------
|
8850
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
8851
|
+
-----------------------------------------------------------------
|
8852
|
+
Loading private key...
|
8853
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
8854
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
8855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8856
|
+
-----------------------------------------------------------
|
8857
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
8858
|
+
-----------------------------------------------------------
|
8859
|
+
Loading private key...
|
8860
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
8861
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
8862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8863
|
+
---------------------------------
|
8864
|
+
LetsencryptPluginTest: test_truth
|
8865
|
+
---------------------------------
|
8866
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
8867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8868
|
+
----------------------------------------------------------
|
8869
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
8870
|
+
----------------------------------------------------------
|
8871
|
+
Loading private key...
|
8872
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8874
|
+
-------------------------------------------------------------
|
8875
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
8876
|
+
-------------------------------------------------------------
|
8877
|
+
Loading private key...
|
8878
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
8879
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
8881
|
+
----------------------------------------------------------
|
8882
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
8883
|
+
----------------------------------------------------------
|
8884
|
+
Loading private key...
|
8885
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
8886
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8888
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
8889
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:27:08', '2016-01-25 17:27:08', 980190962)
|
8890
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:27:08', '2016-01-25 17:27:08', 298486374)[0m
|
8891
|
+
[1m[35m (73.0ms)[0m commit transaction
|
8892
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8893
|
+
-----------------------------------------------------------
|
8894
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
8895
|
+
-----------------------------------------------------------
|
8896
|
+
Loading private key...
|
8897
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
8898
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8900
|
+
---------------------------------
|
8901
|
+
LetsencryptPluginTest: test_truth
|
8902
|
+
---------------------------------
|
8903
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8904
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8905
|
+
-------------------------------------------------------------
|
8906
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
8907
|
+
-------------------------------------------------------------
|
8908
|
+
Loading private key...
|
8909
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
8910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8912
|
+
----------------------------------------------------------
|
8913
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
8914
|
+
----------------------------------------------------------
|
8915
|
+
Loading private key...
|
8916
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
8917
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8918
|
+
----------------------------------------------------------
|
8919
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
8920
|
+
----------------------------------------------------------
|
8921
|
+
Loading private key...
|
8922
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
8923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8924
|
+
-----------------------------------------------------------------
|
8925
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
8926
|
+
-----------------------------------------------------------------
|
8927
|
+
Loading private key...
|
8928
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
8929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8931
|
+
-------------------------------------------------------------------
|
8932
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
8933
|
+
-------------------------------------------------------------------
|
8934
|
+
Loading private key...
|
8935
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
8936
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8938
|
+
-------------------------------------------------------------------
|
8939
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
8940
|
+
-------------------------------------------------------------------
|
8941
|
+
Loading private key...
|
8942
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
8943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8945
|
+
------------------------------------------------------------------------
|
8946
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
8947
|
+
------------------------------------------------------------------------
|
8948
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8949
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
8950
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
8951
|
+
Rendered text template (0.1ms)
|
8952
|
+
Completed 200 OK in 70ms (Views: 59.1ms | ActiveRecord: 0.3ms)
|
8953
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
8954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8955
|
+
----------------------------------------------------------------------------------------------------------------
|
8956
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
8957
|
+
----------------------------------------------------------------------------------------------------------------
|
8958
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8959
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
8960
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
8961
|
+
Challenge failed - Request has invalid length!
|
8962
|
+
Rendered text template (0.0ms)
|
8963
|
+
Filter chain halted as :validate_length rendered or redirected
|
8964
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
8965
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
8966
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8967
|
+
-----------------------------------------------------------------------------------------------------------------
|
8968
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
8969
|
+
-----------------------------------------------------------------------------------------------------------------
|
8970
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8971
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
8972
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
8973
|
+
Challenge failed - Request has invalid length!
|
8974
|
+
Rendered text template (0.0ms)
|
8975
|
+
Filter chain halted as :validate_length rendered or redirected
|
8976
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
8977
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
8978
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8980
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
8981
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:43:07', '2016-01-25 17:43:07', 980190962)
|
8982
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:43:07', '2016-01-25 17:43:07', 298486374)[0m
|
8983
|
+
[1m[35m (87.7ms)[0m commit transaction
|
8984
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8985
|
+
------------------------------------
|
8986
|
+
LetsencryptPluginTest: test_register
|
8987
|
+
------------------------------------
|
8988
|
+
Loading private key...
|
8989
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
8990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8991
|
+
----------------------------------------------------------------------------------------------------------------
|
8992
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
8993
|
+
----------------------------------------------------------------------------------------------------------------
|
8994
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
8995
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
8996
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
8997
|
+
Challenge failed - Request has invalid length!
|
8998
|
+
Rendered text template (0.0ms)
|
8999
|
+
Filter chain halted as :validate_length rendered or redirected
|
9000
|
+
Completed 400 Bad Request in 17ms (Views: 8.8ms | ActiveRecord: 0.3ms)
|
9001
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9003
|
+
-----------------------------------------------------------------------------------------------------------------
|
9004
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9005
|
+
-----------------------------------------------------------------------------------------------------------------
|
9006
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9007
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9008
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9009
|
+
Challenge failed - Request has invalid length!
|
9010
|
+
Rendered text template (0.0ms)
|
9011
|
+
Filter chain halted as :validate_length rendered or redirected
|
9012
|
+
Completed 400 Bad Request in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
9013
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9014
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9015
|
+
------------------------------------------------------------------------
|
9016
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9017
|
+
------------------------------------------------------------------------
|
9018
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9019
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9020
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9021
|
+
Rendered text template (0.0ms)
|
9022
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
9023
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9024
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9025
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9026
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9027
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:43:46', '2016-01-25 17:43:46', 980190962)
|
9028
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:43:46', '2016-01-25 17:43:46', 298486374)[0m
|
9029
|
+
[1m[35m (182.6ms)[0m commit transaction
|
9030
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9031
|
+
------------------------------------
|
9032
|
+
LetsencryptPluginTest: test_register
|
9033
|
+
------------------------------------
|
9034
|
+
Loading private key...
|
9035
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9037
|
+
------------------------------------------------------------------------
|
9038
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9039
|
+
------------------------------------------------------------------------
|
9040
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9041
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9042
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9043
|
+
Rendered text template (0.0ms)
|
9044
|
+
Completed 200 OK in 16ms (Views: 8.4ms | ActiveRecord: 0.3ms)
|
9045
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9047
|
+
-----------------------------------------------------------------------------------------------------------------
|
9048
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9049
|
+
-----------------------------------------------------------------------------------------------------------------
|
9050
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9051
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9052
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9053
|
+
Challenge failed - Request has invalid length!
|
9054
|
+
Rendered text template (0.0ms)
|
9055
|
+
Filter chain halted as :validate_length rendered or redirected
|
9056
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9059
|
+
----------------------------------------------------------------------------------------------------------------
|
9060
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9061
|
+
----------------------------------------------------------------------------------------------------------------
|
9062
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9063
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9064
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9065
|
+
Challenge failed - Request has invalid length!
|
9066
|
+
Rendered text template (0.0ms)
|
9067
|
+
Filter chain halted as :validate_length rendered or redirected
|
9068
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9070
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9072
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9073
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:50:03', '2016-01-25 17:50:03', 980190962)
|
9074
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:50:03', '2016-01-25 17:50:03', 298486374)[0m
|
9075
|
+
[1m[35m (97.6ms)[0m commit transaction
|
9076
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9077
|
+
------------------------------------
|
9078
|
+
LetsencryptPluginTest: test_register
|
9079
|
+
------------------------------------
|
9080
|
+
Loading private key...
|
9081
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9082
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9083
|
+
-----------------------------------------------------------------------------------------------------------------
|
9084
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9085
|
+
-----------------------------------------------------------------------------------------------------------------
|
9086
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9087
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9088
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9089
|
+
Challenge failed - Request has invalid length!
|
9090
|
+
Rendered text template (0.0ms)
|
9091
|
+
Filter chain halted as :validate_length rendered or redirected
|
9092
|
+
Completed 400 Bad Request in 16ms (Views: 8.7ms | ActiveRecord: 0.3ms)
|
9093
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9095
|
+
----------------------------------------------------------------------------------------------------------------
|
9096
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9097
|
+
----------------------------------------------------------------------------------------------------------------
|
9098
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9099
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9100
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9101
|
+
Challenge failed - Request has invalid length!
|
9102
|
+
Rendered text template (0.0ms)
|
9103
|
+
Filter chain halted as :validate_length rendered or redirected
|
9104
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9107
|
+
------------------------------------------------------------------------
|
9108
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9109
|
+
------------------------------------------------------------------------
|
9110
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9111
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9112
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9113
|
+
Rendered text template (0.0ms)
|
9114
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9115
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9116
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9118
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9119
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:52:24', '2016-01-25 17:52:24', 980190962)
|
9120
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 17:52:24', '2016-01-25 17:52:24', 298486374)[0m
|
9121
|
+
[1m[35m (102.1ms)[0m commit transaction
|
9122
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9123
|
+
------------------------------------
|
9124
|
+
LetsencryptPluginTest: test_register
|
9125
|
+
------------------------------------
|
9126
|
+
Loading private key...
|
9127
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9129
|
+
----------------------------------------------------------------------------------------------------------------
|
9130
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9131
|
+
----------------------------------------------------------------------------------------------------------------
|
9132
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9133
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9134
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9135
|
+
Challenge failed - Request has invalid length!
|
9136
|
+
Rendered text template (0.1ms)
|
9137
|
+
Filter chain halted as :validate_length rendered or redirected
|
9138
|
+
Completed 400 Bad Request in 11ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
9139
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9141
|
+
------------------------------------------------------------------------
|
9142
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9143
|
+
------------------------------------------------------------------------
|
9144
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9145
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9146
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9147
|
+
Rendered text template (0.0ms)
|
9148
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9151
|
+
-----------------------------------------------------------------------------------------------------------------
|
9152
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9153
|
+
-----------------------------------------------------------------------------------------------------------------
|
9154
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9155
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9156
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9157
|
+
Challenge failed - Request has invalid length!
|
9158
|
+
Rendered text template (0.0ms)
|
9159
|
+
Filter chain halted as :validate_length rendered or redirected
|
9160
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9161
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9163
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9165
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9166
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:00:47', '2016-01-25 18:00:47', 980190962)
|
9167
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:00:47', '2016-01-25 18:00:47', 298486374)[0m
|
9168
|
+
[1m[35m (86.9ms)[0m commit transaction
|
9169
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9170
|
+
------------------------------------------------------------------------
|
9171
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9172
|
+
------------------------------------------------------------------------
|
9173
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9174
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9175
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9176
|
+
Rendered text template (0.0ms)
|
9177
|
+
Completed 200 OK in 13ms (Views: 7.0ms | ActiveRecord: 0.3ms)
|
9178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9180
|
+
----------------------------------------------------------------------------------------------------------------
|
9181
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9182
|
+
----------------------------------------------------------------------------------------------------------------
|
9183
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9184
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9185
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9186
|
+
Challenge failed - Request has invalid length!
|
9187
|
+
Rendered text template (0.0ms)
|
9188
|
+
Filter chain halted as :validate_length rendered or redirected
|
9189
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9192
|
+
-----------------------------------------------------------------------------------------------------------------
|
9193
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9194
|
+
-----------------------------------------------------------------------------------------------------------------
|
9195
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9196
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9197
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9198
|
+
Challenge failed - Request has invalid length!
|
9199
|
+
Rendered text template (0.0ms)
|
9200
|
+
Filter chain halted as :validate_length rendered or redirected
|
9201
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9203
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9204
|
+
------------------------------------
|
9205
|
+
LetsencryptPluginTest: test_register
|
9206
|
+
------------------------------------
|
9207
|
+
Loading private key...
|
9208
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9209
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9211
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9212
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:04:28', '2016-01-25 18:04:28', 980190962)
|
9213
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:04:28', '2016-01-25 18:04:28', 298486374)[0m
|
9214
|
+
[1m[35m (90.1ms)[0m commit transaction
|
9215
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9216
|
+
------------------------------------
|
9217
|
+
LetsencryptPluginTest: test_register
|
9218
|
+
------------------------------------
|
9219
|
+
Loading private key...
|
9220
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9222
|
+
----------------------------------------------------------------------------------------------------------------
|
9223
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9224
|
+
----------------------------------------------------------------------------------------------------------------
|
9225
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9226
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9227
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9228
|
+
Challenge failed - Request has invalid length!
|
9229
|
+
Rendered text template (0.0ms)
|
9230
|
+
Filter chain halted as :validate_length rendered or redirected
|
9231
|
+
Completed 400 Bad Request in 15ms (Views: 7.7ms | ActiveRecord: 0.3ms)
|
9232
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9234
|
+
------------------------------------------------------------------------
|
9235
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9236
|
+
------------------------------------------------------------------------
|
9237
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9238
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9239
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.3ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9240
|
+
Rendered text template (0.0ms)
|
9241
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
9242
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9244
|
+
-----------------------------------------------------------------------------------------------------------------
|
9245
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9246
|
+
-----------------------------------------------------------------------------------------------------------------
|
9247
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9248
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9249
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9250
|
+
Challenge failed - Request has invalid length!
|
9251
|
+
Rendered text template (0.0ms)
|
9252
|
+
Filter chain halted as :validate_length rendered or redirected
|
9253
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9254
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9255
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9257
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9258
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:05:08', '2016-01-25 18:05:08', 980190962)
|
9259
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:05:08', '2016-01-25 18:05:08', 298486374)[0m
|
9260
|
+
[1m[35m (96.3ms)[0m commit transaction
|
9261
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9262
|
+
------------------------------------
|
9263
|
+
LetsencryptPluginTest: test_register
|
9264
|
+
------------------------------------
|
9265
|
+
Loading private key...
|
9266
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9268
|
+
-----------------------------------------------------------------------------------------------------------------
|
9269
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9270
|
+
-----------------------------------------------------------------------------------------------------------------
|
9271
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9272
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9273
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9274
|
+
Challenge failed - Request has invalid length!
|
9275
|
+
Rendered text template (0.0ms)
|
9276
|
+
Filter chain halted as :validate_length rendered or redirected
|
9277
|
+
Completed 400 Bad Request in 22ms (Views: 7.3ms | ActiveRecord: 0.3ms)
|
9278
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9279
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9280
|
+
----------------------------------------------------------------------------------------------------------------
|
9281
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9282
|
+
----------------------------------------------------------------------------------------------------------------
|
9283
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9284
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9285
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9286
|
+
Challenge failed - Request has invalid length!
|
9287
|
+
Rendered text template (0.0ms)
|
9288
|
+
Filter chain halted as :validate_length rendered or redirected
|
9289
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9290
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9292
|
+
------------------------------------------------------------------------
|
9293
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9294
|
+
------------------------------------------------------------------------
|
9295
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9296
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9297
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9298
|
+
Rendered text template (0.0ms)
|
9299
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9300
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9301
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9302
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9303
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9304
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:08:31', '2016-01-25 18:08:31', 980190962)
|
9305
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:08:31', '2016-01-25 18:08:31', 298486374)[0m
|
9306
|
+
[1m[35m (89.4ms)[0m commit transaction
|
9307
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9308
|
+
------------------------------------
|
9309
|
+
LetsencryptPluginTest: test_register
|
9310
|
+
------------------------------------
|
9311
|
+
Loading private key...
|
9312
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9313
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9314
|
+
-----------------------------------------------------------------------------------------------------------------
|
9315
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9316
|
+
-----------------------------------------------------------------------------------------------------------------
|
9317
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9318
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9319
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9320
|
+
Challenge failed - Request has invalid length!
|
9321
|
+
Rendered text template (0.0ms)
|
9322
|
+
Filter chain halted as :validate_length rendered or redirected
|
9323
|
+
Completed 400 Bad Request in 17ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
9324
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9325
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9326
|
+
------------------------------------------------------------------------
|
9327
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9328
|
+
------------------------------------------------------------------------
|
9329
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9330
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9331
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9332
|
+
Rendered text template (0.0ms)
|
9333
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9334
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9336
|
+
----------------------------------------------------------------------------------------------------------------
|
9337
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9338
|
+
----------------------------------------------------------------------------------------------------------------
|
9339
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9340
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9341
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9342
|
+
Challenge failed - Request has invalid length!
|
9343
|
+
Rendered text template (0.0ms)
|
9344
|
+
Filter chain halted as :validate_length rendered or redirected
|
9345
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9346
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9347
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9348
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9350
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9351
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:14:18', '2016-01-25 18:14:18', 980190962)
|
9352
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:14:18', '2016-01-25 18:14:18', 298486374)[0m
|
9353
|
+
[1m[35m (58.2ms)[0m commit transaction
|
9354
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9355
|
+
------------------------------------
|
9356
|
+
LetsencryptPluginTest: test_register
|
9357
|
+
------------------------------------
|
9358
|
+
Loading private key...
|
9359
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9361
|
+
------------------------------------------------------------------------
|
9362
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9363
|
+
------------------------------------------------------------------------
|
9364
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9365
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9366
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9367
|
+
Rendered text template (0.0ms)
|
9368
|
+
Completed 200 OK in 16ms (Views: 8.3ms | ActiveRecord: 0.3ms)
|
9369
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9371
|
+
-----------------------------------------------------------------------------------------------------------------
|
9372
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9373
|
+
-----------------------------------------------------------------------------------------------------------------
|
9374
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9375
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9376
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9377
|
+
Challenge failed - Request has invalid length!
|
9378
|
+
Rendered text template (0.0ms)
|
9379
|
+
Filter chain halted as :validate_length rendered or redirected
|
9380
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9381
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9383
|
+
----------------------------------------------------------------------------------------------------------------
|
9384
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9385
|
+
----------------------------------------------------------------------------------------------------------------
|
9386
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9387
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9388
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9389
|
+
Challenge failed - Request has invalid length!
|
9390
|
+
Rendered text template (0.0ms)
|
9391
|
+
Filter chain halted as :validate_length rendered or redirected
|
9392
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9393
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9394
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9395
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9396
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9397
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:22:21', '2016-01-25 18:22:21', 980190962)
|
9398
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:22:21', '2016-01-25 18:22:21', 298486374)[0m
|
9399
|
+
[1m[35m (59.4ms)[0m commit transaction
|
9400
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
9401
|
+
------------------------------------
|
9402
|
+
LetsencryptPluginTest: test_register
|
9403
|
+
------------------------------------
|
9404
|
+
Loading private key...
|
9405
|
+
Trying to register at Let's Encrypt service...
|
9406
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
9407
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9408
|
+
-----------------------------------------------------------------------------------------------------------------
|
9409
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9410
|
+
-----------------------------------------------------------------------------------------------------------------
|
9411
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9412
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9413
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9414
|
+
Challenge failed - Request has invalid length!
|
9415
|
+
Rendered text template (0.0ms)
|
9416
|
+
Filter chain halted as :validate_length rendered or redirected
|
9417
|
+
Completed 400 Bad Request in 9ms (Views: 4.7ms | ActiveRecord: 0.2ms)
|
9418
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9419
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9420
|
+
----------------------------------------------------------------------------------------------------------------
|
9421
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9422
|
+
----------------------------------------------------------------------------------------------------------------
|
9423
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9424
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9425
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9426
|
+
Challenge failed - Request has invalid length!
|
9427
|
+
Rendered text template (0.0ms)
|
9428
|
+
Filter chain halted as :validate_length rendered or redirected
|
9429
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9431
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9432
|
+
------------------------------------------------------------------------
|
9433
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9434
|
+
------------------------------------------------------------------------
|
9435
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9436
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9437
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9438
|
+
Rendered text template (0.0ms)
|
9439
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
9440
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9441
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9442
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9443
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9444
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:24:21', '2016-01-25 18:24:21', 980190962)
|
9445
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:24:21', '2016-01-25 18:24:21', 298486374)[0m
|
9446
|
+
[1m[35m (198.4ms)[0m commit transaction
|
9447
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9448
|
+
------------------------------------
|
9449
|
+
LetsencryptPluginTest: test_register
|
9450
|
+
------------------------------------
|
9451
|
+
Loading private key...
|
9452
|
+
Trying to register at Let's Encrypt service...
|
9453
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9454
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9455
|
+
------------------------------------------------------------------------
|
9456
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9457
|
+
------------------------------------------------------------------------
|
9458
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9459
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9460
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9461
|
+
Rendered text template (0.0ms)
|
9462
|
+
Completed 200 OK in 12ms (Views: 6.5ms | ActiveRecord: 0.2ms)
|
9463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9465
|
+
-----------------------------------------------------------------------------------------------------------------
|
9466
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9467
|
+
-----------------------------------------------------------------------------------------------------------------
|
9468
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9469
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9470
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9471
|
+
Challenge failed - Request has invalid length!
|
9472
|
+
Rendered text template (0.0ms)
|
9473
|
+
Filter chain halted as :validate_length rendered or redirected
|
9474
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9477
|
+
----------------------------------------------------------------------------------------------------------------
|
9478
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9479
|
+
----------------------------------------------------------------------------------------------------------------
|
9480
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9481
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9482
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9483
|
+
Challenge failed - Request has invalid length!
|
9484
|
+
Rendered text template (0.0ms)
|
9485
|
+
Filter chain halted as :validate_length rendered or redirected
|
9486
|
+
Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9487
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9488
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9490
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9491
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:25:16', '2016-01-25 18:25:16', 980190962)
|
9492
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:25:16', '2016-01-25 18:25:16', 298486374)[0m
|
9493
|
+
[1m[35m (77.0ms)[0m commit transaction
|
9494
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9495
|
+
------------------------------------------------------------------------
|
9496
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9497
|
+
------------------------------------------------------------------------
|
9498
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9499
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9500
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9501
|
+
Rendered text template (0.1ms)
|
9502
|
+
Completed 200 OK in 15ms (Views: 7.6ms | ActiveRecord: 0.3ms)
|
9503
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
9504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9505
|
+
-----------------------------------------------------------------------------------------------------------------
|
9506
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9507
|
+
-----------------------------------------------------------------------------------------------------------------
|
9508
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9509
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9510
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9511
|
+
Challenge failed - Request has invalid length!
|
9512
|
+
Rendered text template (0.1ms)
|
9513
|
+
Filter chain halted as :validate_length rendered or redirected
|
9514
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
9515
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9517
|
+
----------------------------------------------------------------------------------------------------------------
|
9518
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9519
|
+
----------------------------------------------------------------------------------------------------------------
|
9520
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9521
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9522
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9523
|
+
Challenge failed - Request has invalid length!
|
9524
|
+
Rendered text template (0.0ms)
|
9525
|
+
Filter chain halted as :validate_length rendered or redirected
|
9526
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
9527
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9528
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9529
|
+
------------------------------------
|
9530
|
+
LetsencryptPluginTest: test_register
|
9531
|
+
------------------------------------
|
9532
|
+
Loading private key...
|
9533
|
+
Trying to register at Let's Encrypt service...
|
9534
|
+
Already registered.
|
9535
|
+
Sending authorization request for: example.com...
|
9536
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9537
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9539
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9540
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:26:00', '2016-01-25 18:26:00', 980190962)
|
9541
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:26:00', '2016-01-25 18:26:00', 298486374)[0m
|
9542
|
+
[1m[35m (142.6ms)[0m commit transaction
|
9543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9544
|
+
------------------------------------
|
9545
|
+
LetsencryptPluginTest: test_register
|
9546
|
+
------------------------------------
|
9547
|
+
Loading private key...
|
9548
|
+
Trying to register at Let's Encrypt service...
|
9549
|
+
Already registered.
|
9550
|
+
Sending authorization request for: example.com...
|
9551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9552
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9553
|
+
------------------------------------------------------------------------
|
9554
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9555
|
+
------------------------------------------------------------------------
|
9556
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9557
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9558
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9559
|
+
Rendered text template (0.0ms)
|
9560
|
+
Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
9561
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9563
|
+
-----------------------------------------------------------------------------------------------------------------
|
9564
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9565
|
+
-----------------------------------------------------------------------------------------------------------------
|
9566
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9567
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9568
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9569
|
+
Challenge failed - Request has invalid length!
|
9570
|
+
Rendered text template (0.0ms)
|
9571
|
+
Filter chain halted as :validate_length rendered or redirected
|
9572
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9573
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9575
|
+
----------------------------------------------------------------------------------------------------------------
|
9576
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9577
|
+
----------------------------------------------------------------------------------------------------------------
|
9578
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9579
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9580
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9581
|
+
Challenge failed - Request has invalid length!
|
9582
|
+
Rendered text template (0.0ms)
|
9583
|
+
Filter chain halted as :validate_length rendered or redirected
|
9584
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9585
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9586
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9588
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9589
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:30:41', '2016-01-25 18:30:41', 980190962)
|
9590
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 18:30:41', '2016-01-25 18:30:41', 298486374)[0m
|
9591
|
+
[1m[35m (98.1ms)[0m commit transaction
|
9592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9593
|
+
------------------------------------
|
9594
|
+
LetsencryptPluginTest: test_register
|
9595
|
+
------------------------------------
|
9596
|
+
Loading private key...
|
9597
|
+
Trying to register at Let's Encrypt service...
|
9598
|
+
Already registered.
|
9599
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9601
|
+
-----------------------------------------------------------------------------------------------------------------
|
9602
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9603
|
+
-----------------------------------------------------------------------------------------------------------------
|
9604
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9605
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9606
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9607
|
+
Challenge failed - Request has invalid length!
|
9608
|
+
Rendered text template (0.0ms)
|
9609
|
+
Filter chain halted as :validate_length rendered or redirected
|
9610
|
+
Completed 400 Bad Request in 11ms (Views: 5.6ms | ActiveRecord: 0.2ms)
|
9611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9613
|
+
------------------------------------------------------------------------
|
9614
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9615
|
+
------------------------------------------------------------------------
|
9616
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9617
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9618
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9619
|
+
Rendered text template (0.0ms)
|
9620
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9621
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9623
|
+
----------------------------------------------------------------------------------------------------------------
|
9624
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9625
|
+
----------------------------------------------------------------------------------------------------------------
|
9626
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9627
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9628
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9629
|
+
Challenge failed - Request has invalid length!
|
9630
|
+
Rendered text template (0.0ms)
|
9631
|
+
Filter chain halted as :validate_length rendered or redirected
|
9632
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
9633
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9634
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9635
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9636
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9637
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:10:08', '2016-01-25 19:10:08', 980190962)
|
9638
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:10:08', '2016-01-25 19:10:08', 298486374)[0m
|
9639
|
+
[1m[35m (91.9ms)[0m commit transaction
|
9640
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9641
|
+
-------------------------------------------------------------------
|
9642
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
9643
|
+
-------------------------------------------------------------------
|
9644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9646
|
+
-----------------------------------------------------------------
|
9647
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
9648
|
+
-----------------------------------------------------------------
|
9649
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9651
|
+
-----------------------------------------------------------
|
9652
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
9653
|
+
-----------------------------------------------------------
|
9654
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9656
|
+
-------------------------------------------------------------
|
9657
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
9658
|
+
-------------------------------------------------------------
|
9659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9661
|
+
---------------------------------
|
9662
|
+
LetsencryptPluginTest: test_truth
|
9663
|
+
---------------------------------
|
9664
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9665
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9666
|
+
------------------------------------
|
9667
|
+
LetsencryptPluginTest: test_register
|
9668
|
+
------------------------------------
|
9669
|
+
Loading private key...
|
9670
|
+
Trying to register at Let's Encrypt service...
|
9671
|
+
Already registered.
|
9672
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9673
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9674
|
+
----------------------------------------------------------
|
9675
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
9676
|
+
----------------------------------------------------------
|
9677
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9678
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9679
|
+
-------------------------------------------------------------------
|
9680
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
9681
|
+
-------------------------------------------------------------------
|
9682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9684
|
+
----------------------------------------------------------
|
9685
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
9686
|
+
----------------------------------------------------------
|
9687
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9689
|
+
-----------------------------------------------------------------------------------------------------------------
|
9690
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9691
|
+
-----------------------------------------------------------------------------------------------------------------
|
9692
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9693
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9694
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9695
|
+
Challenge failed - Request has invalid length!
|
9696
|
+
Rendered text template (0.0ms)
|
9697
|
+
Filter chain halted as :validate_length rendered or redirected
|
9698
|
+
Completed 400 Bad Request in 11ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
9699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9701
|
+
----------------------------------------------------------------------------------------------------------------
|
9702
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9703
|
+
----------------------------------------------------------------------------------------------------------------
|
9704
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9705
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9706
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.1ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9707
|
+
Challenge failed - Request has invalid length!
|
9708
|
+
Rendered text template (0.0ms)
|
9709
|
+
Filter chain halted as :validate_length rendered or redirected
|
9710
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
9711
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9712
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9713
|
+
------------------------------------------------------------------------
|
9714
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9715
|
+
------------------------------------------------------------------------
|
9716
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9717
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9718
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9719
|
+
Rendered text template (0.0ms)
|
9720
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
9721
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9722
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9724
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9725
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:11:10', '2016-01-25 19:11:10', 980190962)
|
9726
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:11:10', '2016-01-25 19:11:10', 298486374)[0m
|
9727
|
+
[1m[35m (49.9ms)[0m commit transaction
|
9728
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9729
|
+
-----------------------------------------------------------------------------------------------------------------
|
9730
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9731
|
+
-----------------------------------------------------------------------------------------------------------------
|
9732
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9733
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9734
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9735
|
+
Challenge failed - Request has invalid length!
|
9736
|
+
Rendered text template (0.0ms)
|
9737
|
+
Filter chain halted as :validate_length rendered or redirected
|
9738
|
+
Completed 400 Bad Request in 14ms (Views: 7.2ms | ActiveRecord: 0.3ms)
|
9739
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9740
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9741
|
+
----------------------------------------------------------------------------------------------------------------
|
9742
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9743
|
+
----------------------------------------------------------------------------------------------------------------
|
9744
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9745
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9746
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9747
|
+
Challenge failed - Request has invalid length!
|
9748
|
+
Rendered text template (0.0ms)
|
9749
|
+
Filter chain halted as :validate_length rendered or redirected
|
9750
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9753
|
+
------------------------------------------------------------------------
|
9754
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9755
|
+
------------------------------------------------------------------------
|
9756
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9757
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9758
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9759
|
+
Rendered text template (0.0ms)
|
9760
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9761
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9762
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9763
|
+
-------------------------------------------------------------------
|
9764
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
9765
|
+
-------------------------------------------------------------------
|
9766
|
+
Loading private key...
|
9767
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
9768
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9770
|
+
-----------------------------------------------------------------
|
9771
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
9772
|
+
-----------------------------------------------------------------
|
9773
|
+
Loading private key...
|
9774
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
9775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9777
|
+
-------------------------------------------------------------
|
9778
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
9779
|
+
-------------------------------------------------------------
|
9780
|
+
Loading private key...
|
9781
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9782
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9784
|
+
----------------------------------------------------------
|
9785
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
9786
|
+
----------------------------------------------------------
|
9787
|
+
Loading private key...
|
9788
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9790
|
+
-------------------------------------------------------------------
|
9791
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
9792
|
+
-------------------------------------------------------------------
|
9793
|
+
Loading private key...
|
9794
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
9795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9797
|
+
-----------------------------------------------------------
|
9798
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
9799
|
+
-----------------------------------------------------------
|
9800
|
+
Loading private key...
|
9801
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9803
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9804
|
+
----------------------------------------------------------
|
9805
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
9806
|
+
----------------------------------------------------------
|
9807
|
+
Loading private key...
|
9808
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9810
|
+
------------------------------------
|
9811
|
+
LetsencryptPluginTest: test_register
|
9812
|
+
------------------------------------
|
9813
|
+
Loading private key...
|
9814
|
+
Trying to register at Let's Encrypt service...
|
9815
|
+
Already registered.
|
9816
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9818
|
+
---------------------------------
|
9819
|
+
LetsencryptPluginTest: test_truth
|
9820
|
+
---------------------------------
|
9821
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9822
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9824
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9825
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:18:42', '2016-01-25 19:18:42', 980190962)
|
9826
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:18:42', '2016-01-25 19:18:42', 298486374)[0m
|
9827
|
+
[1m[35m (104.0ms)[0m commit transaction
|
9828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9829
|
+
----------------------------------------------------------------------------------------------------------------
|
9830
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
9831
|
+
----------------------------------------------------------------------------------------------------------------
|
9832
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9833
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
9834
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9835
|
+
Challenge failed - Request has invalid length!
|
9836
|
+
Rendered text template (0.0ms)
|
9837
|
+
Filter chain halted as :validate_length rendered or redirected
|
9838
|
+
Completed 400 Bad Request in 11ms (Views: 5.5ms | ActiveRecord: 0.2ms)
|
9839
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9841
|
+
------------------------------------------------------------------------
|
9842
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9843
|
+
------------------------------------------------------------------------
|
9844
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9845
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9846
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
9847
|
+
Rendered text template (0.0ms)
|
9848
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
9849
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9851
|
+
-----------------------------------------------------------------------------------------------------------------
|
9852
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
9853
|
+
-----------------------------------------------------------------------------------------------------------------
|
9854
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9855
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
9856
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9857
|
+
Challenge failed - Request has invalid length!
|
9858
|
+
Rendered text template (0.0ms)
|
9859
|
+
Filter chain halted as :validate_length rendered or redirected
|
9860
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
9861
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9862
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9863
|
+
-------------------------------------------------------------------
|
9864
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
9865
|
+
-------------------------------------------------------------------
|
9866
|
+
Loading private key...
|
9867
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
9868
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9869
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9870
|
+
-------------------------------------------------------------------
|
9871
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
9872
|
+
-------------------------------------------------------------------
|
9873
|
+
Loading private key...
|
9874
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
9875
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9877
|
+
------------------------------------
|
9878
|
+
LetsencryptPluginTest: test_register
|
9879
|
+
------------------------------------
|
9880
|
+
Loading private key...
|
9881
|
+
Trying to register at Let's Encrypt service...
|
9882
|
+
Already registered.
|
9883
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9884
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9885
|
+
-----------------------------------------------------------------
|
9886
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
9887
|
+
-----------------------------------------------------------------
|
9888
|
+
Loading private key...
|
9889
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
9890
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9892
|
+
-----------------------------------------------------------
|
9893
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
9894
|
+
-----------------------------------------------------------
|
9895
|
+
Loading private key...
|
9896
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9897
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9899
|
+
----------------------------------------------------------
|
9900
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
9901
|
+
----------------------------------------------------------
|
9902
|
+
Loading private key...
|
9903
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9904
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9905
|
+
----------------------------------------------------------
|
9906
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
9907
|
+
----------------------------------------------------------
|
9908
|
+
Loading private key...
|
9909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9911
|
+
---------------------------------
|
9912
|
+
LetsencryptPluginTest: test_truth
|
9913
|
+
---------------------------------
|
9914
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
9916
|
+
-------------------------------------------------------------
|
9917
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
9918
|
+
-------------------------------------------------------------
|
9919
|
+
Loading private key...
|
9920
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9921
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
9922
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9924
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
9925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:22:33', '2016-01-25 19:22:33', 980190962)
|
9926
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:22:33', '2016-01-25 19:22:33', 298486374)[0m
|
9927
|
+
[1m[35m (97.0ms)[0m commit transaction
|
9928
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
9929
|
+
-----------------------------------------------------------------
|
9930
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
9931
|
+
-----------------------------------------------------------------
|
9932
|
+
Loading private key...
|
9933
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
9934
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9936
|
+
----------------------------------------------------------
|
9937
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
9938
|
+
----------------------------------------------------------
|
9939
|
+
Loading private key...
|
9940
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9942
|
+
----------------------------------------------------------
|
9943
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
9944
|
+
----------------------------------------------------------
|
9945
|
+
Loading private key...
|
9946
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9948
|
+
-------------------------------------------------------------------
|
9949
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
9950
|
+
-------------------------------------------------------------------
|
9951
|
+
Loading private key...
|
9952
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
9953
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9955
|
+
---------------------------------
|
9956
|
+
LetsencryptPluginTest: test_truth
|
9957
|
+
---------------------------------
|
9958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9960
|
+
------------------------------------
|
9961
|
+
LetsencryptPluginTest: test_register
|
9962
|
+
------------------------------------
|
9963
|
+
Loading private key...
|
9964
|
+
Trying to register at Let's Encrypt service...
|
9965
|
+
Already registered.
|
9966
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9968
|
+
-------------------------------------------------------------
|
9969
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
9970
|
+
-------------------------------------------------------------
|
9971
|
+
Loading private key...
|
9972
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9973
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9975
|
+
-----------------------------------------------------------
|
9976
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
9977
|
+
-----------------------------------------------------------
|
9978
|
+
Loading private key...
|
9979
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
9980
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9982
|
+
-------------------------------------------------------------------
|
9983
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
9984
|
+
-------------------------------------------------------------------
|
9985
|
+
Loading private key...
|
9986
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
9987
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
9988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9989
|
+
------------------------------------------------------------------------
|
9990
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
9991
|
+
------------------------------------------------------------------------
|
9992
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
9993
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
9994
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
9995
|
+
Rendered text template (0.0ms)
|
9996
|
+
Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
9997
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
9998
|
+
[1m[35m (0.1ms)[0m begin transaction
|
9999
|
+
-----------------------------------------------------------------------------------------------------------------
|
10000
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10001
|
+
-----------------------------------------------------------------------------------------------------------------
|
10002
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10003
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10004
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10005
|
+
Challenge failed - Request has invalid length!
|
10006
|
+
Rendered text template (0.0ms)
|
10007
|
+
Filter chain halted as :validate_length rendered or redirected
|
10008
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
10009
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10011
|
+
----------------------------------------------------------------------------------------------------------------
|
10012
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10013
|
+
----------------------------------------------------------------------------------------------------------------
|
10014
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10015
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10016
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10017
|
+
Challenge failed - Request has invalid length!
|
10018
|
+
Rendered text template (0.0ms)
|
10019
|
+
Filter chain halted as :validate_length rendered or redirected
|
10020
|
+
Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
10021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10024
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10025
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:47:37', '2016-01-25 19:47:37', 980190962)
|
10026
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:47:37', '2016-01-25 19:47:37', 298486374)[0m
|
10027
|
+
[1m[35m (97.2ms)[0m commit transaction
|
10028
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10029
|
+
-----------------------------------------------------------------------------------------------------------------
|
10030
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10031
|
+
-----------------------------------------------------------------------------------------------------------------
|
10032
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10033
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10034
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10035
|
+
Challenge failed - Request has invalid length!
|
10036
|
+
Rendered text template (0.0ms)
|
10037
|
+
Filter chain halted as :validate_length rendered or redirected
|
10038
|
+
Completed 400 Bad Request in 13ms (Views: 7.4ms | ActiveRecord: 0.2ms)
|
10039
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10041
|
+
------------------------------------------------------------------------
|
10042
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10043
|
+
------------------------------------------------------------------------
|
10044
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10045
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10046
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10047
|
+
Rendered text template (0.0ms)
|
10048
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10051
|
+
----------------------------------------------------------------------------------------------------------------
|
10052
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10053
|
+
----------------------------------------------------------------------------------------------------------------
|
10054
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10055
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10056
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10057
|
+
Challenge failed - Request has invalid length!
|
10058
|
+
Rendered text template (0.0ms)
|
10059
|
+
Filter chain halted as :validate_length rendered or redirected
|
10060
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10061
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10063
|
+
-----------------------------------------------------------------
|
10064
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10065
|
+
-----------------------------------------------------------------
|
10066
|
+
Loading private key...
|
10067
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10068
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10069
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10070
|
+
---------------------------------
|
10071
|
+
LetsencryptPluginTest: test_truth
|
10072
|
+
---------------------------------
|
10073
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10074
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10075
|
+
----------------------------------------------------------
|
10076
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10077
|
+
----------------------------------------------------------
|
10078
|
+
Loading private key...
|
10079
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10080
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10081
|
+
-------------------------------------------------------------------
|
10082
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10083
|
+
-------------------------------------------------------------------
|
10084
|
+
Loading private key...
|
10085
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10086
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10088
|
+
------------------------------------
|
10089
|
+
LetsencryptPluginTest: test_register
|
10090
|
+
------------------------------------
|
10091
|
+
Loading private key...
|
10092
|
+
Trying to register at Let's Encrypt service...
|
10093
|
+
Already registered.
|
10094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10096
|
+
-----------------------------------------------------------
|
10097
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10098
|
+
-----------------------------------------------------------
|
10099
|
+
Loading private key...
|
10100
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10101
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10103
|
+
-------------------------------------------------------------------
|
10104
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10105
|
+
-------------------------------------------------------------------
|
10106
|
+
Loading private key...
|
10107
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10108
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10109
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10110
|
+
----------------------------------------------------------
|
10111
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10112
|
+
----------------------------------------------------------
|
10113
|
+
Loading private key...
|
10114
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10116
|
+
-------------------------------------------------------------
|
10117
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10118
|
+
-------------------------------------------------------------
|
10119
|
+
Loading private key...
|
10120
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10122
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10124
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10125
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:49:07', '2016-01-25 19:49:07', 980190962)
|
10126
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:49:07', '2016-01-25 19:49:07', 298486374)[0m
|
10127
|
+
[1m[35m (123.4ms)[0m commit transaction
|
10128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10129
|
+
----------------------------------------------------------------------------------------------------------------
|
10130
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10131
|
+
----------------------------------------------------------------------------------------------------------------
|
10132
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10133
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10134
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10135
|
+
Challenge failed - Request has invalid length!
|
10136
|
+
Rendered text template (0.0ms)
|
10137
|
+
Filter chain halted as :validate_length rendered or redirected
|
10138
|
+
Completed 400 Bad Request in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
10139
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10141
|
+
-----------------------------------------------------------------------------------------------------------------
|
10142
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10143
|
+
-----------------------------------------------------------------------------------------------------------------
|
10144
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10145
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10146
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10147
|
+
Challenge failed - Request has invalid length!
|
10148
|
+
Rendered text template (0.0ms)
|
10149
|
+
Filter chain halted as :validate_length rendered or redirected
|
10150
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
10151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10153
|
+
------------------------------------------------------------------------
|
10154
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10155
|
+
------------------------------------------------------------------------
|
10156
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10157
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10158
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10159
|
+
Rendered text template (0.0ms)
|
10160
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
10161
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10163
|
+
-------------------------------------------------------------------
|
10164
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10165
|
+
-------------------------------------------------------------------
|
10166
|
+
Loading private key...
|
10167
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10168
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10170
|
+
---------------------------------
|
10171
|
+
LetsencryptPluginTest: test_truth
|
10172
|
+
---------------------------------
|
10173
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10174
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10175
|
+
----------------------------------------------------------
|
10176
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10177
|
+
----------------------------------------------------------
|
10178
|
+
Loading private key...
|
10179
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10181
|
+
----------------------------------------------------------
|
10182
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10183
|
+
----------------------------------------------------------
|
10184
|
+
Loading private key...
|
10185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10187
|
+
-------------------------------------------------------------------
|
10188
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10189
|
+
-------------------------------------------------------------------
|
10190
|
+
Loading private key...
|
10191
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10192
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10194
|
+
--------------------------------------------------
|
10195
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10196
|
+
--------------------------------------------------
|
10197
|
+
Loading private key...
|
10198
|
+
Trying to register at Let's Encrypt service...
|
10199
|
+
Already registered.
|
10200
|
+
Sending authorization request for: example.com...
|
10201
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10203
|
+
-----------------------------------------------------------
|
10204
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10205
|
+
-----------------------------------------------------------
|
10206
|
+
Loading private key...
|
10207
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10208
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10209
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10210
|
+
-------------------------------------------------------------
|
10211
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10212
|
+
-------------------------------------------------------------
|
10213
|
+
Loading private key...
|
10214
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10215
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10217
|
+
------------------------------------
|
10218
|
+
LetsencryptPluginTest: test_register
|
10219
|
+
------------------------------------
|
10220
|
+
Loading private key...
|
10221
|
+
Trying to register at Let's Encrypt service...
|
10222
|
+
Already registered.
|
10223
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10224
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10225
|
+
-----------------------------------------------------------------
|
10226
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10227
|
+
-----------------------------------------------------------------
|
10228
|
+
Loading private key...
|
10229
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10230
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10231
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10233
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10234
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:51:01', '2016-01-25 19:51:01', 980190962)
|
10235
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:51:01', '2016-01-25 19:51:01', 298486374)[0m
|
10236
|
+
[1m[35m (87.6ms)[0m commit transaction
|
10237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10238
|
+
-------------------------------------------------------------
|
10239
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10240
|
+
-------------------------------------------------------------
|
10241
|
+
Loading private key...
|
10242
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10243
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10245
|
+
------------------------------------
|
10246
|
+
LetsencryptPluginTest: test_register
|
10247
|
+
------------------------------------
|
10248
|
+
Loading private key...
|
10249
|
+
Trying to register at Let's Encrypt service...
|
10250
|
+
Already registered.
|
10251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10253
|
+
----------------------------------------------------------
|
10254
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10255
|
+
----------------------------------------------------------
|
10256
|
+
Loading private key...
|
10257
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10259
|
+
--------------------------------------------------
|
10260
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10261
|
+
--------------------------------------------------
|
10262
|
+
Loading private key...
|
10263
|
+
Trying to register at Let's Encrypt service...
|
10264
|
+
Already registered.
|
10265
|
+
Sending authorization request for: example.com...
|
10266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10268
|
+
-----------------------------------------------------------------
|
10269
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10270
|
+
-----------------------------------------------------------------
|
10271
|
+
Loading private key...
|
10272
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10273
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10275
|
+
-------------------------------------------------------------------
|
10276
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10277
|
+
-------------------------------------------------------------------
|
10278
|
+
Loading private key...
|
10279
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10280
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10282
|
+
-----------------------------------------------------------
|
10283
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10284
|
+
-----------------------------------------------------------
|
10285
|
+
Loading private key...
|
10286
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10287
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10289
|
+
---------------------------------
|
10290
|
+
LetsencryptPluginTest: test_truth
|
10291
|
+
---------------------------------
|
10292
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10294
|
+
-------------------------------------------------------------------
|
10295
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10296
|
+
-------------------------------------------------------------------
|
10297
|
+
Loading private key...
|
10298
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10299
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10301
|
+
----------------------------------------------------------
|
10302
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10303
|
+
----------------------------------------------------------
|
10304
|
+
Loading private key...
|
10305
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10307
|
+
------------------------------------------------------------------------
|
10308
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10309
|
+
------------------------------------------------------------------------
|
10310
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10311
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10312
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10313
|
+
Rendered text template (0.0ms)
|
10314
|
+
Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
10315
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10316
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10317
|
+
-----------------------------------------------------------------------------------------------------------------
|
10318
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10319
|
+
-----------------------------------------------------------------------------------------------------------------
|
10320
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10321
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10322
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10323
|
+
Challenge failed - Request has invalid length!
|
10324
|
+
Rendered text template (0.0ms)
|
10325
|
+
Filter chain halted as :validate_length rendered or redirected
|
10326
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
10327
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10329
|
+
----------------------------------------------------------------------------------------------------------------
|
10330
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10331
|
+
----------------------------------------------------------------------------------------------------------------
|
10332
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10333
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10334
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10335
|
+
Challenge failed - Request has invalid length!
|
10336
|
+
Rendered text template (0.0ms)
|
10337
|
+
Filter chain halted as :validate_length rendered or redirected
|
10338
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10339
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10340
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10342
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10343
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:53:11', '2016-01-25 19:53:11', 980190962)
|
10344
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 19:53:11', '2016-01-25 19:53:11', 298486374)[0m
|
10345
|
+
[1m[35m (102.0ms)[0m commit transaction
|
10346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10347
|
+
------------------------------------------------------------------------
|
10348
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10349
|
+
------------------------------------------------------------------------
|
10350
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10351
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10352
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10353
|
+
Rendered text template (0.0ms)
|
10354
|
+
Completed 200 OK in 15ms (Views: 8.4ms | ActiveRecord: 0.2ms)
|
10355
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10357
|
+
-----------------------------------------------------------------------------------------------------------------
|
10358
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10359
|
+
-----------------------------------------------------------------------------------------------------------------
|
10360
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10361
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10362
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.3ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10363
|
+
Challenge failed - Request has invalid length!
|
10364
|
+
Rendered text template (0.0ms)
|
10365
|
+
Filter chain halted as :validate_length rendered or redirected
|
10366
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
10367
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10369
|
+
----------------------------------------------------------------------------------------------------------------
|
10370
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10371
|
+
----------------------------------------------------------------------------------------------------------------
|
10372
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10373
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10374
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10375
|
+
Challenge failed - Request has invalid length!
|
10376
|
+
Rendered text template (0.0ms)
|
10377
|
+
Filter chain halted as :validate_length rendered or redirected
|
10378
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10381
|
+
----------------------------------------------------------
|
10382
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10383
|
+
----------------------------------------------------------
|
10384
|
+
Loading private key...
|
10385
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10387
|
+
-------------------------------------------------------------------
|
10388
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10389
|
+
-------------------------------------------------------------------
|
10390
|
+
Loading private key...
|
10391
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10392
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10393
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10394
|
+
---------------------------------
|
10395
|
+
LetsencryptPluginTest: test_truth
|
10396
|
+
---------------------------------
|
10397
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10399
|
+
----------------------------------------------------------
|
10400
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10401
|
+
----------------------------------------------------------
|
10402
|
+
Loading private key...
|
10403
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10405
|
+
-----------------------------------------------------------------
|
10406
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10407
|
+
-----------------------------------------------------------------
|
10408
|
+
Loading private key...
|
10409
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10410
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10411
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10412
|
+
-----------------------------------------------------------
|
10413
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10414
|
+
-----------------------------------------------------------
|
10415
|
+
Loading private key...
|
10416
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10417
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10418
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10419
|
+
--------------------------------------------------
|
10420
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10421
|
+
--------------------------------------------------
|
10422
|
+
Loading private key...
|
10423
|
+
Trying to register at Let's Encrypt service...
|
10424
|
+
Already registered.
|
10425
|
+
Sending authorization request for: example.com...
|
10426
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10428
|
+
-------------------------------------------------------------
|
10429
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10430
|
+
-------------------------------------------------------------
|
10431
|
+
Loading private key...
|
10432
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10435
|
+
-------------------------------------------------------------------
|
10436
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10437
|
+
-------------------------------------------------------------------
|
10438
|
+
Loading private key...
|
10439
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10440
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10441
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10442
|
+
------------------------------------
|
10443
|
+
LetsencryptPluginTest: test_register
|
10444
|
+
------------------------------------
|
10445
|
+
Loading private key...
|
10446
|
+
Trying to register at Let's Encrypt service...
|
10447
|
+
Already registered.
|
10448
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10449
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10451
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10452
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:01:39', '2016-01-25 20:01:39', 980190962)
|
10453
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:01:39', '2016-01-25 20:01:39', 298486374)[0m
|
10454
|
+
[1m[35m (98.1ms)[0m commit transaction
|
10455
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10456
|
+
------------------------------------------------------------------------
|
10457
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10458
|
+
------------------------------------------------------------------------
|
10459
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10460
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10461
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10462
|
+
Rendered text template (0.0ms)
|
10463
|
+
Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 0.2ms)
|
10464
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10466
|
+
----------------------------------------------------------------------------------------------------------------
|
10467
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10468
|
+
----------------------------------------------------------------------------------------------------------------
|
10469
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10470
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10471
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.1ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10472
|
+
Challenge failed - Request has invalid length!
|
10473
|
+
Rendered text template (0.0ms)
|
10474
|
+
Filter chain halted as :validate_length rendered or redirected
|
10475
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
10476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10478
|
+
-----------------------------------------------------------------------------------------------------------------
|
10479
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10480
|
+
-----------------------------------------------------------------------------------------------------------------
|
10481
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10482
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10483
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10484
|
+
Challenge failed - Request has invalid length!
|
10485
|
+
Rendered text template (0.0ms)
|
10486
|
+
Filter chain halted as :validate_length rendered or redirected
|
10487
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
10488
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10490
|
+
-----------------------------------------------------------------
|
10491
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10492
|
+
-----------------------------------------------------------------
|
10493
|
+
Loading private key...
|
10494
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10495
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10496
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10497
|
+
----------------------------------------------------------
|
10498
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10499
|
+
----------------------------------------------------------
|
10500
|
+
Loading private key...
|
10501
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10503
|
+
---------------------------------
|
10504
|
+
LetsencryptPluginTest: test_truth
|
10505
|
+
---------------------------------
|
10506
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10507
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10508
|
+
------------------------------------
|
10509
|
+
LetsencryptPluginTest: test_register
|
10510
|
+
------------------------------------
|
10511
|
+
Loading private key...
|
10512
|
+
Trying to register at Let's Encrypt service...
|
10513
|
+
Already registered.
|
10514
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10516
|
+
----------------------------------------------------------
|
10517
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10518
|
+
----------------------------------------------------------
|
10519
|
+
Loading private key...
|
10520
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10522
|
+
-------------------------------------------------------------------
|
10523
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10524
|
+
-------------------------------------------------------------------
|
10525
|
+
Loading private key...
|
10526
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10527
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10528
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10529
|
+
-------------------------------------------------------------------
|
10530
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10531
|
+
-------------------------------------------------------------------
|
10532
|
+
Loading private key...
|
10533
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10534
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10536
|
+
-----------------------------------------------------------
|
10537
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10538
|
+
-----------------------------------------------------------
|
10539
|
+
Loading private key...
|
10540
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10541
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10543
|
+
-------------------------------------------------------------
|
10544
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10545
|
+
-------------------------------------------------------------
|
10546
|
+
Loading private key...
|
10547
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10548
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10550
|
+
--------------------------------------------------
|
10551
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10552
|
+
--------------------------------------------------
|
10553
|
+
Loading private key...
|
10554
|
+
Trying to register at Let's Encrypt service...
|
10555
|
+
Already registered.
|
10556
|
+
Sending authorization request for: example.com...
|
10557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10558
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10559
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10560
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10561
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:08:11', '2016-01-25 20:08:11', 980190962)
|
10562
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:08:11', '2016-01-25 20:08:11', 298486374)[0m
|
10563
|
+
[1m[35m (56.9ms)[0m commit transaction
|
10564
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10565
|
+
-----------------------------------------------------------------------------------------------------------------
|
10566
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10567
|
+
-----------------------------------------------------------------------------------------------------------------
|
10568
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10569
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10570
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10571
|
+
Challenge failed - Request has invalid length!
|
10572
|
+
Rendered text template (0.0ms)
|
10573
|
+
Filter chain halted as :validate_length rendered or redirected
|
10574
|
+
Completed 400 Bad Request in 16ms (Views: 8.1ms | ActiveRecord: 0.3ms)
|
10575
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
10576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10577
|
+
------------------------------------------------------------------------
|
10578
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10579
|
+
------------------------------------------------------------------------
|
10580
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10581
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10582
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10583
|
+
Rendered text template (0.0ms)
|
10584
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10587
|
+
----------------------------------------------------------------------------------------------------------------
|
10588
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10589
|
+
----------------------------------------------------------------------------------------------------------------
|
10590
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10591
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10592
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10593
|
+
Challenge failed - Request has invalid length!
|
10594
|
+
Rendered text template (0.1ms)
|
10595
|
+
Filter chain halted as :validate_length rendered or redirected
|
10596
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10598
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10599
|
+
-----------------------------------------------------------------
|
10600
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10601
|
+
-----------------------------------------------------------------
|
10602
|
+
Loading private key...
|
10603
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10604
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10606
|
+
-------------------------------------------------------------
|
10607
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10608
|
+
-------------------------------------------------------------
|
10609
|
+
Loading private key...
|
10610
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10613
|
+
----------------------------------------------------------
|
10614
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10615
|
+
----------------------------------------------------------
|
10616
|
+
Loading private key...
|
10617
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10618
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10619
|
+
-----------------------------------------------------------
|
10620
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10621
|
+
-----------------------------------------------------------
|
10622
|
+
Loading private key...
|
10623
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10626
|
+
-------------------------------------------------------------------
|
10627
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10628
|
+
-------------------------------------------------------------------
|
10629
|
+
Loading private key...
|
10630
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10633
|
+
----------------------------------------------------------
|
10634
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10635
|
+
----------------------------------------------------------
|
10636
|
+
Loading private key...
|
10637
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10638
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10639
|
+
---------------------------------
|
10640
|
+
LetsencryptPluginTest: test_truth
|
10641
|
+
---------------------------------
|
10642
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10643
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10644
|
+
-------------------------------------------------------------------
|
10645
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10646
|
+
-------------------------------------------------------------------
|
10647
|
+
Loading private key...
|
10648
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10649
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10650
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10651
|
+
--------------------------------------------------
|
10652
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10653
|
+
--------------------------------------------------
|
10654
|
+
Loading private key...
|
10655
|
+
Trying to register at Let's Encrypt service...
|
10656
|
+
Already registered.
|
10657
|
+
Sending authorization request for: example.com...
|
10658
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10659
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10660
|
+
------------------------------------
|
10661
|
+
LetsencryptPluginTest: test_register
|
10662
|
+
------------------------------------
|
10663
|
+
Loading private key...
|
10664
|
+
Trying to register at Let's Encrypt service...
|
10665
|
+
Already registered.
|
10666
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10667
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10669
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10670
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:09:00', '2016-01-25 20:09:00', 980190962)
|
10671
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:09:00', '2016-01-25 20:09:00', 298486374)[0m
|
10672
|
+
[1m[35m (94.1ms)[0m commit transaction
|
10673
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10674
|
+
----------------------------------------------------------
|
10675
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10676
|
+
----------------------------------------------------------
|
10677
|
+
Loading private key...
|
10678
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10680
|
+
----------------------------------------------------------
|
10681
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10682
|
+
----------------------------------------------------------
|
10683
|
+
Loading private key...
|
10684
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10685
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10686
|
+
-----------------------------------------------------------------
|
10687
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10688
|
+
-----------------------------------------------------------------
|
10689
|
+
Loading private key...
|
10690
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10693
|
+
-------------------------------------------------------------------
|
10694
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10695
|
+
-------------------------------------------------------------------
|
10696
|
+
Loading private key...
|
10697
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10698
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10700
|
+
--------------------------------------------------
|
10701
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10702
|
+
--------------------------------------------------
|
10703
|
+
Loading private key...
|
10704
|
+
Trying to register at Let's Encrypt service...
|
10705
|
+
Already registered.
|
10706
|
+
Sending authorization request for: example.com...
|
10707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10709
|
+
---------------------------------
|
10710
|
+
LetsencryptPluginTest: test_truth
|
10711
|
+
---------------------------------
|
10712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10714
|
+
-----------------------------------------------------------
|
10715
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10716
|
+
-----------------------------------------------------------
|
10717
|
+
Loading private key...
|
10718
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10721
|
+
-------------------------------------------------------------------
|
10722
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10723
|
+
-------------------------------------------------------------------
|
10724
|
+
Loading private key...
|
10725
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10726
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10728
|
+
-------------------------------------------------------------
|
10729
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10730
|
+
-------------------------------------------------------------
|
10731
|
+
Loading private key...
|
10732
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10735
|
+
------------------------------------
|
10736
|
+
LetsencryptPluginTest: test_register
|
10737
|
+
------------------------------------
|
10738
|
+
Loading private key...
|
10739
|
+
Trying to register at Let's Encrypt service...
|
10740
|
+
Already registered.
|
10741
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10743
|
+
------------------------------------------------------------------------
|
10744
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10745
|
+
------------------------------------------------------------------------
|
10746
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10747
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10748
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10749
|
+
Rendered text template (0.0ms)
|
10750
|
+
Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 0.2ms)
|
10751
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10752
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10753
|
+
-----------------------------------------------------------------------------------------------------------------
|
10754
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10755
|
+
-----------------------------------------------------------------------------------------------------------------
|
10756
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10757
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10758
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10759
|
+
Challenge failed - Request has invalid length!
|
10760
|
+
Rendered text template (0.0ms)
|
10761
|
+
Filter chain halted as :validate_length rendered or redirected
|
10762
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
10763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10764
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10765
|
+
----------------------------------------------------------------------------------------------------------------
|
10766
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10767
|
+
----------------------------------------------------------------------------------------------------------------
|
10768
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10769
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10770
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10771
|
+
Challenge failed - Request has invalid length!
|
10772
|
+
Rendered text template (0.0ms)
|
10773
|
+
Filter chain halted as :validate_length rendered or redirected
|
10774
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
10775
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10776
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10778
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10779
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:10:44', '2016-01-25 20:10:44', 980190962)
|
10780
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:10:44', '2016-01-25 20:10:44', 298486374)[0m
|
10781
|
+
[1m[35m (92.8ms)[0m commit transaction
|
10782
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10783
|
+
-----------------------------------------------------------------------------------------------------------------
|
10784
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10785
|
+
-----------------------------------------------------------------------------------------------------------------
|
10786
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10787
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10788
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10789
|
+
Challenge failed - Request has invalid length!
|
10790
|
+
Rendered text template (0.0ms)
|
10791
|
+
Filter chain halted as :validate_length rendered or redirected
|
10792
|
+
Completed 400 Bad Request in 17ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
10793
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
10794
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10795
|
+
------------------------------------------------------------------------
|
10796
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10797
|
+
------------------------------------------------------------------------
|
10798
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10799
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10800
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10801
|
+
Rendered text template (0.0ms)
|
10802
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
10803
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10805
|
+
----------------------------------------------------------------------------------------------------------------
|
10806
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10807
|
+
----------------------------------------------------------------------------------------------------------------
|
10808
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10809
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10810
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10811
|
+
Challenge failed - Request has invalid length!
|
10812
|
+
Rendered text template (0.0ms)
|
10813
|
+
Filter chain halted as :validate_length rendered or redirected
|
10814
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10815
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10817
|
+
-------------------------------------------------------------------
|
10818
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10819
|
+
-------------------------------------------------------------------
|
10820
|
+
Loading private key...
|
10821
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10822
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10823
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10824
|
+
------------------------------------
|
10825
|
+
LetsencryptPluginTest: test_register
|
10826
|
+
------------------------------------
|
10827
|
+
Loading private key...
|
10828
|
+
Trying to register at Let's Encrypt service...
|
10829
|
+
Already registered.
|
10830
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10831
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10832
|
+
--------------------------------------------------
|
10833
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10834
|
+
--------------------------------------------------
|
10835
|
+
Loading private key...
|
10836
|
+
Trying to register at Let's Encrypt service...
|
10837
|
+
Already registered.
|
10838
|
+
Sending authorization request for: example.com...
|
10839
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10841
|
+
-----------------------------------------------------------------
|
10842
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10843
|
+
-----------------------------------------------------------------
|
10844
|
+
Loading private key...
|
10845
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10846
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10847
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10848
|
+
----------------------------------------------------------
|
10849
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10850
|
+
----------------------------------------------------------
|
10851
|
+
Loading private key...
|
10852
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10854
|
+
-------------------------------------------------------------
|
10855
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10856
|
+
-------------------------------------------------------------
|
10857
|
+
Loading private key...
|
10858
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10859
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10860
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10861
|
+
-----------------------------------------------------------
|
10862
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10863
|
+
-----------------------------------------------------------
|
10864
|
+
Loading private key...
|
10865
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10866
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10867
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10868
|
+
----------------------------------------------------------
|
10869
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10870
|
+
----------------------------------------------------------
|
10871
|
+
Loading private key...
|
10872
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10874
|
+
-------------------------------------------------------------------
|
10875
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10876
|
+
-------------------------------------------------------------------
|
10877
|
+
Loading private key...
|
10878
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10879
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10881
|
+
---------------------------------
|
10882
|
+
LetsencryptPluginTest: test_truth
|
10883
|
+
---------------------------------
|
10884
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10885
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10887
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10888
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:18:40', '2016-01-25 20:18:40', 980190962)
|
10889
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:18:40', '2016-01-25 20:18:40', 298486374)[0m
|
10890
|
+
[1m[35m (97.2ms)[0m commit transaction
|
10891
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
10892
|
+
------------------------------------------------------------------------
|
10893
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
10894
|
+
------------------------------------------------------------------------
|
10895
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10896
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
10897
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10898
|
+
Rendered text template (0.0ms)
|
10899
|
+
Completed 200 OK in 16ms (Views: 8.2ms | ActiveRecord: 0.3ms)
|
10900
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
10901
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10902
|
+
----------------------------------------------------------------------------------------------------------------
|
10903
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
10904
|
+
----------------------------------------------------------------------------------------------------------------
|
10905
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10906
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
10907
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
10908
|
+
Challenge failed - Request has invalid length!
|
10909
|
+
Rendered text template (0.0ms)
|
10910
|
+
Filter chain halted as :validate_length rendered or redirected
|
10911
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
10912
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10914
|
+
-----------------------------------------------------------------------------------------------------------------
|
10915
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
10916
|
+
-----------------------------------------------------------------------------------------------------------------
|
10917
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
10918
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
10919
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
10920
|
+
Challenge failed - Request has invalid length!
|
10921
|
+
Rendered text template (0.0ms)
|
10922
|
+
Filter chain halted as :validate_length rendered or redirected
|
10923
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
10924
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10925
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10926
|
+
----------------------------------------------------------
|
10927
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
10928
|
+
----------------------------------------------------------
|
10929
|
+
Loading private key...
|
10930
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10931
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10932
|
+
----------------------------------------------------------
|
10933
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
10934
|
+
----------------------------------------------------------
|
10935
|
+
Loading private key...
|
10936
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10938
|
+
-------------------------------------------------------------------
|
10939
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
10940
|
+
-------------------------------------------------------------------
|
10941
|
+
Loading private key...
|
10942
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
10943
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10945
|
+
--------------------------------------------------
|
10946
|
+
LetsencryptPluginTest: test_register_and_authorize
|
10947
|
+
--------------------------------------------------
|
10948
|
+
Loading private key...
|
10949
|
+
Trying to register at Let's Encrypt service...
|
10950
|
+
Already registered.
|
10951
|
+
Sending authorization request for: example.com...
|
10952
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10953
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10954
|
+
------------------------------------
|
10955
|
+
LetsencryptPluginTest: test_register
|
10956
|
+
------------------------------------
|
10957
|
+
Loading private key...
|
10958
|
+
Trying to register at Let's Encrypt service...
|
10959
|
+
Already registered.
|
10960
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10961
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10962
|
+
-----------------------------------------------------------------
|
10963
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
10964
|
+
-----------------------------------------------------------------
|
10965
|
+
Loading private key...
|
10966
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
10967
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10969
|
+
-------------------------------------------------------------------
|
10970
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
10971
|
+
-------------------------------------------------------------------
|
10972
|
+
Loading private key...
|
10973
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
10974
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10975
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10976
|
+
-------------------------------------------------------------
|
10977
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
10978
|
+
-------------------------------------------------------------
|
10979
|
+
Loading private key...
|
10980
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10981
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10983
|
+
-----------------------------------------------------------
|
10984
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
10985
|
+
-----------------------------------------------------------
|
10986
|
+
Loading private key...
|
10987
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
10988
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10989
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10990
|
+
---------------------------------
|
10991
|
+
LetsencryptPluginTest: test_truth
|
10992
|
+
---------------------------------
|
10993
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10994
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10995
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10997
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
10998
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:23:52', '2016-01-25 20:23:52', 980190962)
|
10999
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:23:52', '2016-01-25 20:23:52', 298486374)[0m
|
11000
|
+
[1m[35m (91.2ms)[0m commit transaction
|
11001
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11002
|
+
--------------------------------------------------
|
11003
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11004
|
+
--------------------------------------------------
|
11005
|
+
Loading private key...
|
11006
|
+
Trying to register at Let's Encrypt service...
|
11007
|
+
Already registered.
|
11008
|
+
Sending authorization request for: example.com...
|
11009
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11011
|
+
-------------------------------------------------------------
|
11012
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11013
|
+
-------------------------------------------------------------
|
11014
|
+
Loading private key...
|
11015
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11016
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11017
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11018
|
+
------------------------------------
|
11019
|
+
LetsencryptPluginTest: test_register
|
11020
|
+
------------------------------------
|
11021
|
+
Loading private key...
|
11022
|
+
Trying to register at Let's Encrypt service...
|
11023
|
+
Already registered.
|
11024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11026
|
+
-----------------------------------------------------------------
|
11027
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11028
|
+
-----------------------------------------------------------------
|
11029
|
+
Loading private key...
|
11030
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11031
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11033
|
+
-------------------------------------------------------------------
|
11034
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11035
|
+
-------------------------------------------------------------------
|
11036
|
+
Loading private key...
|
11037
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11040
|
+
----------------------------------------------------------
|
11041
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11042
|
+
----------------------------------------------------------
|
11043
|
+
Loading private key...
|
11044
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11045
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11046
|
+
----------------------------------------------------------
|
11047
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11048
|
+
----------------------------------------------------------
|
11049
|
+
Loading private key...
|
11050
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11052
|
+
-------------------------------------------------------------------
|
11053
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11054
|
+
-------------------------------------------------------------------
|
11055
|
+
Loading private key...
|
11056
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11057
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11059
|
+
---------------------------------
|
11060
|
+
LetsencryptPluginTest: test_truth
|
11061
|
+
---------------------------------
|
11062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11064
|
+
-----------------------------------------------------------
|
11065
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11066
|
+
-----------------------------------------------------------
|
11067
|
+
Loading private key...
|
11068
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11070
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11071
|
+
-----------------------------------------------------------------------------------------------------------------
|
11072
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11073
|
+
-----------------------------------------------------------------------------------------------------------------
|
11074
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11075
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11076
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11077
|
+
Challenge failed - Request has invalid length!
|
11078
|
+
Rendered text template (0.0ms)
|
11079
|
+
Filter chain halted as :validate_length rendered or redirected
|
11080
|
+
Completed 400 Bad Request in 10ms (Views: 5.0ms | ActiveRecord: 0.2ms)
|
11081
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11082
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11083
|
+
----------------------------------------------------------------------------------------------------------------
|
11084
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11085
|
+
----------------------------------------------------------------------------------------------------------------
|
11086
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11087
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11088
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11089
|
+
Challenge failed - Request has invalid length!
|
11090
|
+
Rendered text template (0.0ms)
|
11091
|
+
Filter chain halted as :validate_length rendered or redirected
|
11092
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11095
|
+
------------------------------------------------------------------------
|
11096
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11097
|
+
------------------------------------------------------------------------
|
11098
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11099
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11100
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11101
|
+
Rendered text template (0.0ms)
|
11102
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
11103
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11104
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11106
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11107
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:28:30', '2016-01-25 20:28:30', 980190962)
|
11108
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:28:30', '2016-01-25 20:28:30', 298486374)[0m
|
11109
|
+
[1m[35m (120.6ms)[0m commit transaction
|
11110
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11111
|
+
------------------------------------------------------------------------
|
11112
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11113
|
+
------------------------------------------------------------------------
|
11114
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11115
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11116
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11117
|
+
Rendered text template (0.0ms)
|
11118
|
+
Completed 200 OK in 15ms (Views: 7.9ms | ActiveRecord: 0.3ms)
|
11119
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11121
|
+
-----------------------------------------------------------------------------------------------------------------
|
11122
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11123
|
+
-----------------------------------------------------------------------------------------------------------------
|
11124
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11125
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11126
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11127
|
+
Challenge failed - Request has invalid length!
|
11128
|
+
Rendered text template (0.0ms)
|
11129
|
+
Filter chain halted as :validate_length rendered or redirected
|
11130
|
+
Completed 400 Bad Request in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
11131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11133
|
+
----------------------------------------------------------------------------------------------------------------
|
11134
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11135
|
+
----------------------------------------------------------------------------------------------------------------
|
11136
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11137
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11138
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11139
|
+
Challenge failed - Request has invalid length!
|
11140
|
+
Rendered text template (0.0ms)
|
11141
|
+
Filter chain halted as :validate_length rendered or redirected
|
11142
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
11143
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11145
|
+
-------------------------------------------------------------
|
11146
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11147
|
+
-------------------------------------------------------------
|
11148
|
+
Loading private key...
|
11149
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11150
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11152
|
+
-----------------------------------------------------------------
|
11153
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11154
|
+
-----------------------------------------------------------------
|
11155
|
+
Loading private key...
|
11156
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11157
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11159
|
+
-------------------------------------------------------------------
|
11160
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11161
|
+
-------------------------------------------------------------------
|
11162
|
+
Loading private key...
|
11163
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11166
|
+
------------------------------------
|
11167
|
+
LetsencryptPluginTest: test_register
|
11168
|
+
------------------------------------
|
11169
|
+
Loading private key...
|
11170
|
+
Trying to register at Let's Encrypt service...
|
11171
|
+
Already registered.
|
11172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11173
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11174
|
+
----------------------------------------------------------
|
11175
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11176
|
+
----------------------------------------------------------
|
11177
|
+
Loading private key...
|
11178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11180
|
+
------------------------------------------------------------------------
|
11181
|
+
LetsencryptPluginTest: test_register_and_authorize_with_different_domain
|
11182
|
+
------------------------------------------------------------------------
|
11183
|
+
Loading private key...
|
11184
|
+
Trying to register at Let's Encrypt service...
|
11185
|
+
Already registered.
|
11186
|
+
Sending authorization request for: other.example.com...
|
11187
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11189
|
+
-------------------------------------------------------------------
|
11190
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11191
|
+
-------------------------------------------------------------------
|
11192
|
+
Loading private key...
|
11193
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11194
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11196
|
+
----------------------------------------------------------
|
11197
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11198
|
+
----------------------------------------------------------
|
11199
|
+
Loading private key...
|
11200
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11201
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11202
|
+
--------------------------------------------------
|
11203
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11204
|
+
--------------------------------------------------
|
11205
|
+
Loading private key...
|
11206
|
+
Trying to register at Let's Encrypt service...
|
11207
|
+
Already registered.
|
11208
|
+
Sending authorization request for: example.com...
|
11209
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11210
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11211
|
+
---------------------------------
|
11212
|
+
LetsencryptPluginTest: test_truth
|
11213
|
+
---------------------------------
|
11214
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11216
|
+
-----------------------------------------------------------
|
11217
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11218
|
+
-----------------------------------------------------------
|
11219
|
+
Loading private key...
|
11220
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11221
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11222
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11224
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11225
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:30:42', '2016-01-25 20:30:42', 980190962)
|
11226
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-25 20:30:42', '2016-01-25 20:30:42', 298486374)[0m
|
11227
|
+
[1m[35m (85.8ms)[0m commit transaction
|
11228
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
11229
|
+
-----------------------------------------------------------------------------------------------------------------
|
11230
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11231
|
+
-----------------------------------------------------------------------------------------------------------------
|
11232
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11233
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11234
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11235
|
+
Challenge failed - Request has invalid length!
|
11236
|
+
Rendered text template (0.0ms)
|
11237
|
+
Filter chain halted as :validate_length rendered or redirected
|
11238
|
+
Completed 400 Bad Request in 18ms (Views: 9.4ms | ActiveRecord: 0.3ms)
|
11239
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11240
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11241
|
+
----------------------------------------------------------------------------------------------------------------
|
11242
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11243
|
+
----------------------------------------------------------------------------------------------------------------
|
11244
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11245
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11246
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11247
|
+
Challenge failed - Request has invalid length!
|
11248
|
+
Rendered text template (0.0ms)
|
11249
|
+
Filter chain halted as :validate_length rendered or redirected
|
11250
|
+
Completed 400 Bad Request in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
11251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11253
|
+
------------------------------------------------------------------------
|
11254
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11255
|
+
------------------------------------------------------------------------
|
11256
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11257
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11258
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11259
|
+
Rendered text template (0.0ms)
|
11260
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
11261
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11263
|
+
---------------------------------
|
11264
|
+
LetsencryptPluginTest: test_truth
|
11265
|
+
---------------------------------
|
11266
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11268
|
+
--------------------------------------------------
|
11269
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11270
|
+
--------------------------------------------------
|
11271
|
+
Loading private key...
|
11272
|
+
Trying to register at Let's Encrypt service...
|
11273
|
+
Already registered.
|
11274
|
+
Sending authorization request for: example.com...
|
11275
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11277
|
+
-----------------------------------------------------------------
|
11278
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11279
|
+
-----------------------------------------------------------------
|
11280
|
+
Loading private key...
|
11281
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11283
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11284
|
+
-------------------------------------------------------------
|
11285
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11286
|
+
-------------------------------------------------------------
|
11287
|
+
Loading private key...
|
11288
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11289
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11290
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11291
|
+
-----------------------------------------------------------
|
11292
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11293
|
+
-----------------------------------------------------------
|
11294
|
+
Loading private key...
|
11295
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11298
|
+
-------------------------------------------------------------------
|
11299
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11300
|
+
-------------------------------------------------------------------
|
11301
|
+
Loading private key...
|
11302
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11303
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11304
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11305
|
+
----------------------------------------------------------
|
11306
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11307
|
+
----------------------------------------------------------
|
11308
|
+
Loading private key...
|
11309
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11311
|
+
-------------------------------------------------------------------
|
11312
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11313
|
+
-------------------------------------------------------------------
|
11314
|
+
Loading private key...
|
11315
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11316
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11317
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11318
|
+
----------------------------------------------------------
|
11319
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11320
|
+
----------------------------------------------------------
|
11321
|
+
Loading private key...
|
11322
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11324
|
+
------------------------------------
|
11325
|
+
LetsencryptPluginTest: test_register
|
11326
|
+
------------------------------------
|
11327
|
+
Loading private key...
|
11328
|
+
Trying to register at Let's Encrypt service...
|
11329
|
+
Already registered.
|
11330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11331
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11332
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11333
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11334
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:01:37', '2016-01-29 17:01:37', 980190962)
|
11335
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:01:37', '2016-01-29 17:01:37', 298486374)[0m
|
11336
|
+
[1m[35m (73.6ms)[0m commit transaction
|
11337
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11338
|
+
------------------------------------------------------------------------
|
11339
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11340
|
+
------------------------------------------------------------------------
|
11341
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11342
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11343
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.4ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11344
|
+
Rendered text template (0.1ms)
|
11345
|
+
Completed 200 OK in 40ms (Views: 28.6ms | ActiveRecord: 0.4ms)
|
11346
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11347
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11348
|
+
-----------------------------------------------------------------------------------------------------------------
|
11349
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11350
|
+
-----------------------------------------------------------------------------------------------------------------
|
11351
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11352
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11353
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11354
|
+
Challenge failed - Request has invalid length!
|
11355
|
+
Rendered text template (0.0ms)
|
11356
|
+
Filter chain halted as :validate_length rendered or redirected
|
11357
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11359
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11360
|
+
----------------------------------------------------------------------------------------------------------------
|
11361
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11362
|
+
----------------------------------------------------------------------------------------------------------------
|
11363
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11364
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11365
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11366
|
+
Challenge failed - Request has invalid length!
|
11367
|
+
Rendered text template (0.0ms)
|
11368
|
+
Filter chain halted as :validate_length rendered or redirected
|
11369
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11370
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11372
|
+
-------------------------------------------------------------
|
11373
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11374
|
+
-------------------------------------------------------------
|
11375
|
+
Loading private key...
|
11376
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11377
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11378
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11379
|
+
-------------------------------------------------------------------
|
11380
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11381
|
+
-------------------------------------------------------------------
|
11382
|
+
Loading private key...
|
11383
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11384
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11385
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11386
|
+
--------------------------------------------------
|
11387
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11388
|
+
--------------------------------------------------
|
11389
|
+
Loading private key...
|
11390
|
+
Trying to register at Let's Encrypt service...
|
11391
|
+
Already registered.
|
11392
|
+
Sending authorization request for: example.com...
|
11393
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11394
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11395
|
+
---------------------------------
|
11396
|
+
LetsencryptPluginTest: test_truth
|
11397
|
+
---------------------------------
|
11398
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11400
|
+
----------------------------------------------------------
|
11401
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11402
|
+
----------------------------------------------------------
|
11403
|
+
Loading private key...
|
11404
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11406
|
+
-------------------------------------------------------------------
|
11407
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11408
|
+
-------------------------------------------------------------------
|
11409
|
+
Loading private key...
|
11410
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11411
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11413
|
+
------------------------------------
|
11414
|
+
LetsencryptPluginTest: test_register
|
11415
|
+
------------------------------------
|
11416
|
+
Loading private key...
|
11417
|
+
Trying to register at Let's Encrypt service...
|
11418
|
+
Already registered.
|
11419
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11420
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11421
|
+
-----------------------------------------------------------
|
11422
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11423
|
+
-----------------------------------------------------------
|
11424
|
+
Loading private key...
|
11425
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11426
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11428
|
+
-----------------------------------------------------------------
|
11429
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11430
|
+
-----------------------------------------------------------------
|
11431
|
+
Loading private key...
|
11432
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11433
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11434
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11435
|
+
----------------------------------------------------------
|
11436
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11437
|
+
----------------------------------------------------------
|
11438
|
+
Loading private key...
|
11439
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11440
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11441
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11442
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11443
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:02:27', '2016-01-29 17:02:27', 980190962)
|
11444
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:02:27', '2016-01-29 17:02:27', 298486374)[0m
|
11445
|
+
[1m[35m (117.5ms)[0m commit transaction
|
11446
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11447
|
+
----------------------------------------------------------
|
11448
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11449
|
+
----------------------------------------------------------
|
11450
|
+
Loading private key...
|
11451
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11453
|
+
-------------------------------------------------------------------
|
11454
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11455
|
+
-------------------------------------------------------------------
|
11456
|
+
Loading private key...
|
11457
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11458
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11459
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11460
|
+
-----------------------------------------------------------------
|
11461
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11462
|
+
-----------------------------------------------------------------
|
11463
|
+
Loading private key...
|
11464
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11465
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11467
|
+
-----------------------------------------------------------
|
11468
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11469
|
+
-----------------------------------------------------------
|
11470
|
+
Loading private key...
|
11471
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11472
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11473
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11474
|
+
-------------------------------------------------------------
|
11475
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11476
|
+
-------------------------------------------------------------
|
11477
|
+
Loading private key...
|
11478
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11479
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11481
|
+
----------------------------------------------------------
|
11482
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11483
|
+
----------------------------------------------------------
|
11484
|
+
Loading private key...
|
11485
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11487
|
+
--------------------------------------------------
|
11488
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11489
|
+
--------------------------------------------------
|
11490
|
+
Loading private key...
|
11491
|
+
Trying to register at Let's Encrypt service...
|
11492
|
+
Already registered.
|
11493
|
+
Sending authorization request for: example.com...
|
11494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11495
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11496
|
+
---------------------------------
|
11497
|
+
LetsencryptPluginTest: test_truth
|
11498
|
+
---------------------------------
|
11499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11501
|
+
------------------------------------
|
11502
|
+
LetsencryptPluginTest: test_register
|
11503
|
+
------------------------------------
|
11504
|
+
Loading private key...
|
11505
|
+
Trying to register at Let's Encrypt service...
|
11506
|
+
Already registered.
|
11507
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11509
|
+
-------------------------------------------------------------------
|
11510
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11511
|
+
-------------------------------------------------------------------
|
11512
|
+
Loading private key...
|
11513
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11514
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11516
|
+
-----------------------------------------------------------------------------------------------------------------
|
11517
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11518
|
+
-----------------------------------------------------------------------------------------------------------------
|
11519
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11520
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11521
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11522
|
+
Challenge failed - Request has invalid length!
|
11523
|
+
Rendered text template (0.0ms)
|
11524
|
+
Filter chain halted as :validate_length rendered or redirected
|
11525
|
+
Completed 400 Bad Request in 9ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
11526
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11527
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11528
|
+
----------------------------------------------------------------------------------------------------------------
|
11529
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11530
|
+
----------------------------------------------------------------------------------------------------------------
|
11531
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11532
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11533
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.1ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11534
|
+
Challenge failed - Request has invalid length!
|
11535
|
+
Rendered text template (0.0ms)
|
11536
|
+
Filter chain halted as :validate_length rendered or redirected
|
11537
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
11538
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11539
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11540
|
+
------------------------------------------------------------------------
|
11541
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11542
|
+
------------------------------------------------------------------------
|
11543
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11544
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11545
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11546
|
+
Rendered text template (0.0ms)
|
11547
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
11548
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11549
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11550
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11551
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11552
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:03:04', '2016-01-29 17:03:04', 980190962)
|
11553
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:03:04', '2016-01-29 17:03:04', 298486374)[0m
|
11554
|
+
[1m[35m (88.2ms)[0m commit transaction
|
11555
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
11556
|
+
-------------------------------------------------------------------
|
11557
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11558
|
+
-------------------------------------------------------------------
|
11559
|
+
Loading private key...
|
11560
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11561
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11562
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11563
|
+
--------------------------------------------------
|
11564
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11565
|
+
--------------------------------------------------
|
11566
|
+
Loading private key...
|
11567
|
+
Trying to register at Let's Encrypt service...
|
11568
|
+
Already registered.
|
11569
|
+
Sending authorization request for: example.com...
|
11570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11572
|
+
----------------------------------------------------------
|
11573
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11574
|
+
----------------------------------------------------------
|
11575
|
+
Loading private key...
|
11576
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11577
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11578
|
+
---------------------------------
|
11579
|
+
LetsencryptPluginTest: test_truth
|
11580
|
+
---------------------------------
|
11581
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11583
|
+
-----------------------------------------------------------
|
11584
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11585
|
+
-----------------------------------------------------------
|
11586
|
+
Loading private key...
|
11587
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11588
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11589
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11590
|
+
-------------------------------------------------------------
|
11591
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11592
|
+
-------------------------------------------------------------
|
11593
|
+
Loading private key...
|
11594
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11595
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11597
|
+
----------------------------------------------------------
|
11598
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11599
|
+
----------------------------------------------------------
|
11600
|
+
Loading private key...
|
11601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11603
|
+
-----------------------------------------------------------------
|
11604
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11605
|
+
-----------------------------------------------------------------
|
11606
|
+
Loading private key...
|
11607
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11608
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11610
|
+
-------------------------------------------------------------------
|
11611
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11612
|
+
-------------------------------------------------------------------
|
11613
|
+
Loading private key...
|
11614
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11615
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11617
|
+
------------------------------------
|
11618
|
+
LetsencryptPluginTest: test_register
|
11619
|
+
------------------------------------
|
11620
|
+
Loading private key...
|
11621
|
+
Trying to register at Let's Encrypt service...
|
11622
|
+
Already registered.
|
11623
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11625
|
+
------------------------------------------------------------------------
|
11626
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11627
|
+
------------------------------------------------------------------------
|
11628
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11629
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11630
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11631
|
+
Rendered text template (0.0ms)
|
11632
|
+
Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 0.2ms)
|
11633
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11635
|
+
-----------------------------------------------------------------------------------------------------------------
|
11636
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11637
|
+
-----------------------------------------------------------------------------------------------------------------
|
11638
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11639
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11640
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11641
|
+
Challenge failed - Request has invalid length!
|
11642
|
+
Rendered text template (0.0ms)
|
11643
|
+
Filter chain halted as :validate_length rendered or redirected
|
11644
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11645
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11647
|
+
----------------------------------------------------------------------------------------------------------------
|
11648
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11649
|
+
----------------------------------------------------------------------------------------------------------------
|
11650
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11651
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11652
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11653
|
+
Challenge failed - Request has invalid length!
|
11654
|
+
Rendered text template (0.0ms)
|
11655
|
+
Filter chain halted as :validate_length rendered or redirected
|
11656
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
11657
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11658
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11659
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11660
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11661
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:03:48', '2016-01-29 17:03:48', 980190962)
|
11662
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:03:48', '2016-01-29 17:03:48', 298486374)[0m
|
11663
|
+
[1m[35m (97.7ms)[0m commit transaction
|
11664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11665
|
+
-------------------------------------------------------------------
|
11666
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11667
|
+
-------------------------------------------------------------------
|
11668
|
+
Loading private key...
|
11669
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11670
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11671
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11672
|
+
---------------------------------
|
11673
|
+
LetsencryptPluginTest: test_truth
|
11674
|
+
---------------------------------
|
11675
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11677
|
+
-----------------------------------------------------------------
|
11678
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11679
|
+
-----------------------------------------------------------------
|
11680
|
+
Loading private key...
|
11681
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11684
|
+
------------------------------------
|
11685
|
+
LetsencryptPluginTest: test_register
|
11686
|
+
------------------------------------
|
11687
|
+
Loading private key...
|
11688
|
+
Trying to register at Let's Encrypt service...
|
11689
|
+
Already registered.
|
11690
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11692
|
+
-----------------------------------------------------------
|
11693
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11694
|
+
-----------------------------------------------------------
|
11695
|
+
Loading private key...
|
11696
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11697
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11699
|
+
--------------------------------------------------
|
11700
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11701
|
+
--------------------------------------------------
|
11702
|
+
Loading private key...
|
11703
|
+
Trying to register at Let's Encrypt service...
|
11704
|
+
Already registered.
|
11705
|
+
Sending authorization request for: example.com...
|
11706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11708
|
+
-------------------------------------------------------------
|
11709
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11710
|
+
-------------------------------------------------------------
|
11711
|
+
Loading private key...
|
11712
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11713
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11714
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11715
|
+
----------------------------------------------------------
|
11716
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11717
|
+
----------------------------------------------------------
|
11718
|
+
Loading private key...
|
11719
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11721
|
+
-------------------------------------------------------------------
|
11722
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11723
|
+
-------------------------------------------------------------------
|
11724
|
+
Loading private key...
|
11725
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11726
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11727
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11728
|
+
----------------------------------------------------------
|
11729
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11730
|
+
----------------------------------------------------------
|
11731
|
+
Loading private key...
|
11732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
11733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11734
|
+
------------------------------------------------------------------------
|
11735
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11736
|
+
------------------------------------------------------------------------
|
11737
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11738
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11739
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11740
|
+
Rendered text template (0.0ms)
|
11741
|
+
Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
11742
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11744
|
+
----------------------------------------------------------------------------------------------------------------
|
11745
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11746
|
+
----------------------------------------------------------------------------------------------------------------
|
11747
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11748
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11749
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11750
|
+
Challenge failed - Request has invalid length!
|
11751
|
+
Rendered text template (0.0ms)
|
11752
|
+
Filter chain halted as :validate_length rendered or redirected
|
11753
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11754
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11756
|
+
-----------------------------------------------------------------------------------------------------------------
|
11757
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11758
|
+
-----------------------------------------------------------------------------------------------------------------
|
11759
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11760
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11761
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.1ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11762
|
+
Challenge failed - Request has invalid length!
|
11763
|
+
Rendered text template (0.0ms)
|
11764
|
+
Filter chain halted as :validate_length rendered or redirected
|
11765
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
11766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11767
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11769
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11770
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:07:56', '2016-01-29 17:07:56', 980190962)
|
11771
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-01-29 17:07:56', '2016-01-29 17:07:56', 298486374)[0m
|
11772
|
+
[1m[35m (73.2ms)[0m commit transaction
|
11773
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11774
|
+
----------------------------------------------------------------------------------------------------------------
|
11775
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11776
|
+
----------------------------------------------------------------------------------------------------------------
|
11777
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11778
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11779
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.3ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11780
|
+
Challenge failed - Request has invalid length!
|
11781
|
+
Rendered text template (0.0ms)
|
11782
|
+
Filter chain halted as :validate_length rendered or redirected
|
11783
|
+
Completed 400 Bad Request in 14ms (Views: 7.5ms | ActiveRecord: 0.3ms)
|
11784
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11786
|
+
------------------------------------------------------------------------
|
11787
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11788
|
+
------------------------------------------------------------------------
|
11789
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11790
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11791
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11792
|
+
Rendered text template (0.0ms)
|
11793
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
11794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11796
|
+
-----------------------------------------------------------------------------------------------------------------
|
11797
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11798
|
+
-----------------------------------------------------------------------------------------------------------------
|
11799
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11800
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11801
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11802
|
+
Challenge failed - Request has invalid length!
|
11803
|
+
Rendered text template (0.0ms)
|
11804
|
+
Filter chain halted as :validate_length rendered or redirected
|
11805
|
+
Completed 400 Bad Request in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
11806
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11807
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11808
|
+
-------------------------------------------------------------------
|
11809
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11810
|
+
-------------------------------------------------------------------
|
11811
|
+
Loading private key...
|
11812
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11813
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11815
|
+
-----------------------------------------------------------
|
11816
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11817
|
+
-----------------------------------------------------------
|
11818
|
+
Loading private key...
|
11819
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11822
|
+
--------------------------------------------------
|
11823
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11824
|
+
--------------------------------------------------
|
11825
|
+
Loading private key...
|
11826
|
+
Trying to register at Let's Encrypt service...
|
11827
|
+
Already registered.
|
11828
|
+
Sending authorization request for: example.com...
|
11829
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11830
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11831
|
+
-------------------------------------------------------------
|
11832
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11833
|
+
-------------------------------------------------------------
|
11834
|
+
Loading private key...
|
11835
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11836
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11838
|
+
----------------------------------------------------------
|
11839
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11840
|
+
----------------------------------------------------------
|
11841
|
+
Loading private key...
|
11842
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11844
|
+
---------------------------------
|
11845
|
+
LetsencryptPluginTest: test_truth
|
11846
|
+
---------------------------------
|
11847
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11848
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11849
|
+
-----------------------------------------------------------------
|
11850
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11851
|
+
-----------------------------------------------------------------
|
11852
|
+
Loading private key...
|
11853
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11854
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11855
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11856
|
+
-------------------------------------------------------------------
|
11857
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11858
|
+
-------------------------------------------------------------------
|
11859
|
+
Loading private key...
|
11860
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11861
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11863
|
+
----------------------------------------------------------
|
11864
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11865
|
+
----------------------------------------------------------
|
11866
|
+
Loading private key...
|
11867
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
11868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11869
|
+
------------------------------------
|
11870
|
+
LetsencryptPluginTest: test_register
|
11871
|
+
------------------------------------
|
11872
|
+
Loading private key...
|
11873
|
+
Trying to register at Let's Encrypt service...
|
11874
|
+
Already registered.
|
11875
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11876
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11877
|
+
[1m[35m (0.3ms)[0m begin transaction
|
11878
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "letsencrypt_plugin_challenges"[0m
|
11879
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-03-12 19:19:25', '2016-03-12 19:19:25', 980190962)
|
11880
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "letsencrypt_plugin_challenges" ("response", "created_at", "updated_at", "id") VALUES ('MyText', '2016-03-12 19:19:25', '2016-03-12 19:19:25', 298486374)[0m
|
11881
|
+
[1m[35m (211.1ms)[0m commit transaction
|
11882
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11883
|
+
----------------------------------------------------------
|
11884
|
+
LetsencryptPluginTest: test_if_keysize_equal_4096_is_valid
|
11885
|
+
----------------------------------------------------------
|
11886
|
+
Loading private key...
|
11887
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11889
|
+
------------------------------------
|
11890
|
+
LetsencryptPluginTest: test_register
|
11891
|
+
------------------------------------
|
11892
|
+
Loading private key...
|
11893
|
+
Trying to register at Let's Encrypt service...
|
11894
|
+
Already registered.
|
11895
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11897
|
+
-----------------------------------------------------------
|
11898
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_nil
|
11899
|
+
-----------------------------------------------------------
|
11900
|
+
Loading private key...
|
11901
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11902
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11903
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11904
|
+
---------------------------------
|
11905
|
+
LetsencryptPluginTest: test_truth
|
11906
|
+
---------------------------------
|
11907
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11908
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11909
|
+
----------------------------------------------------------
|
11910
|
+
LetsencryptPluginTest: test_if_keysize_equal_2048_is_valid
|
11911
|
+
----------------------------------------------------------
|
11912
|
+
Loading private key...
|
11913
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11915
|
+
--------------------------------------------------
|
11916
|
+
LetsencryptPluginTest: test_register_and_authorize
|
11917
|
+
--------------------------------------------------
|
11918
|
+
Loading private key...
|
11919
|
+
Trying to register at Let's Encrypt service...
|
11920
|
+
Already registered.
|
11921
|
+
Sending authorization request for: example.com...
|
11922
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11924
|
+
-------------------------------------------------------------
|
11925
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_empty
|
11926
|
+
-------------------------------------------------------------
|
11927
|
+
Loading private key...
|
11928
|
+
Private key is not set, please check your config/letsencrypt_plugin.yml file!
|
11929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11931
|
+
-------------------------------------------------------------------
|
11932
|
+
LetsencryptPluginTest: test_if_keysize_greater_than_4096_is_invalid
|
11933
|
+
-------------------------------------------------------------------
|
11934
|
+
Loading private key...
|
11935
|
+
Invalid key size: 8192. Required size is between 2048 - 4096 bits
|
11936
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11937
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11938
|
+
-------------------------------------------------------------------
|
11939
|
+
LetsencryptPluginTest: test_if_keysize_smaller_than_2048_is_invalid
|
11940
|
+
-------------------------------------------------------------------
|
11941
|
+
Loading private key...
|
11942
|
+
Invalid key size: 1024. Required size is between 2048 - 4096 bits
|
11943
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11945
|
+
-----------------------------------------------------------------
|
11946
|
+
LetsencryptPluginTest: test_if_fail_when_private_key_is_directory
|
11947
|
+
-----------------------------------------------------------------
|
11948
|
+
Loading private key...
|
11949
|
+
Can not open private key: /home/lgromanowski/prj/letsencrypt-plugin/test/dummy/public
|
11950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11952
|
+
----------------------------------------------------------------------------------------------------------------
|
11953
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_when_is_smaller_than_128_bits
|
11954
|
+
----------------------------------------------------------------------------------------------------------------
|
11955
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11956
|
+
Parameters: {"challenge"=>"dG9rZW4="}
|
11957
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11958
|
+
Challenge failed - Request has invalid length!
|
11959
|
+
Rendered text template (0.0ms)
|
11960
|
+
Filter chain halted as :validate_length rendered or redirected
|
11961
|
+
Completed 400 Bad Request in 10ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
11962
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11964
|
+
------------------------------------------------------------------------
|
11965
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_is_valid
|
11966
|
+
------------------------------------------------------------------------
|
11967
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11968
|
+
Parameters: {"challenge"=>"rpzxDjD-8xrr5I1G_JBTEToVMYgjNjfSs-XZ62tRtgs"}
|
11969
|
+
[1m[36mLetsencryptPlugin::Challenge Load (0.2ms)[0m [1mSELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1[0m
|
11970
|
+
Rendered text template (0.0ms)
|
11971
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11974
|
+
-----------------------------------------------------------------------------------------------------------------
|
11975
|
+
LetsencryptPlugin::ApplicationControllerTest: test_if_challenge_request_is_invalid_if_it_is_larger_than_256_bytes
|
11976
|
+
-----------------------------------------------------------------------------------------------------------------
|
11977
|
+
Processing by LetsencryptPlugin::ApplicationController#index as HTML
|
11978
|
+
Parameters: {"challenge"=>"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
|
11979
|
+
[1m[35mLetsencryptPlugin::Challenge Load (0.2ms)[0m SELECT "letsencrypt_plugin_challenges".* FROM "letsencrypt_plugin_challenges" ORDER BY "letsencrypt_plugin_challenges"."id" ASC LIMIT 1
|
11980
|
+
Challenge failed - Request has invalid length!
|
11981
|
+
Rendered text template (0.0ms)
|
11982
|
+
Filter chain halted as :validate_length rendered or redirected
|
11983
|
+
Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11984
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|