mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 13:36:15 +02:00
fixed tests
This commit is contained in:
parent
0ba69ea848
commit
072f4440e2
7 changed files with 81 additions and 306 deletions
|
@ -80,12 +80,6 @@ class ApiUser < User
|
|||
cert = machine_readable_certificate(crt)
|
||||
md5 = OpenSSL::Digest::MD5.new(cert.to_der).to_s
|
||||
|
||||
Rails.logger.info '============== pki_ok? =============='
|
||||
Rails.logger.info md5
|
||||
Rails.logger.info com
|
||||
Rails.logger.info origin.exists?(md5: md5, common_name: com, revoked: false)
|
||||
Rails.logger.info '============== pki_ok? =============='
|
||||
|
||||
origin.exists?(md5: md5, common_name: com, revoked: false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue