mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
added more logs
This commit is contained in:
parent
4a06d00b9b
commit
8cb976516c
1 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,13 @@ class ApiUser < User
|
|||
cert = machine_readable_certificate(crt)
|
||||
md5 = OpenSSL::Digest::MD5.new(cert.to_der).to_s
|
||||
|
||||
puts '----'
|
||||
puts "origin: #{origin.inspect}\n\n"
|
||||
puts "cert: #{cert.inspect}\n\n"
|
||||
puts "md5: #{md5}\n\n"
|
||||
puts "com: #{com}\n\n"
|
||||
puts "----\n\n\n"
|
||||
|
||||
origin.exists?(md5: md5, common_name: com, revoked: false)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue