Don't check cert when in development mode

This commit is contained in:
Priit Tark 2015-03-27 17:10:54 +02:00
parent 822b325bc0
commit 7d0fea739b

View file

@ -8,7 +8,7 @@ module Repp
end
before do
next if Rails.env.test?
next if Rails.env.test? || Rails.env.development?
message = 'Certificate mismatch! Cert common name should be:'
request_name = env['HTTP_SSL_CLIENT_S_DN_CN']