mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Revert back to CSR / CRT upload
This commit is contained in:
parent
8292951c9c
commit
0aa5399265
12 changed files with 214 additions and 103 deletions
|
@ -45,6 +45,14 @@ class ApiUser < User
|
|||
registrar.messages.queued
|
||||
end
|
||||
|
||||
def registrar_pki_ok?(crt)
|
||||
certificates.registrar.exists?(crt: crt)
|
||||
end
|
||||
|
||||
def api_pki_ok?(crt)
|
||||
certificates.api.exists?(crt: crt)
|
||||
end
|
||||
|
||||
class << self
|
||||
def find_by_idc_data(idc_data)
|
||||
return false if idc_data.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue