lemur icon indicating copy to clipboard operation
lemur copied to clipboard

Create Authority on basis of imported key+cert

Open hoerup opened this issue 7 years ago • 2 comments

I have an existing openssl standalone CA that I have imported into lemur, but now I would like to create a new Autority on basis of this imported cert/key

The new CA should use the 'Cryptography' plugin.

hoerup avatar Aug 15 '18 14:08 hoerup

I have found a workaround on the issue

  1. Import cert + key
  2. Create a new Authority (don't mind the key setup)
  3. In psql delete the authority certificate from public.certificates (beware of foreign keys)
  4. in psql update your imported certificate to point to new authority by setting root_authority_id in public.certificates

hoerup avatar Aug 15 '18 14:08 hoerup

+1 Would be super cool if you had the time or the inclination to wrap the above into a cli command!

kevgliss avatar Aug 15 '18 20:08 kevgliss