(for full details, see the README file)
-
Determine the subject to be used
- For existing, expired certs, ask for the
subject
andissuer
lines (openssl x509 -text -in <yourcertname.pem>
)
- For existing, expired certs, ask for the
-
Pull and mount the latest version of the sparsebundle
-
Pull the latest version of this repo (DataONE/ca)
-
Create the cert. e.g.:
./ca -c Prod urn:node:MY_NODE_ID
# or
./ca -c Test urn:node:TestMY_NODE_ID
- Zip and upload to server for retrieval via ORCID login (eg with orcid https://orcid.org/0000-0002-6666-999X)
./publish_cert_orcid 0000-0002-6666-999X ./DataONEProdIntCA/certs/urn:node:MY_NODE_ID.pem
- DELETE THE PRIVATE KEY FILE (we no longer keep a copy; a new cert can be generated easily, if key is lost)
rm ./DataONEProdIntCA/private/*.key
# or
rm ./DataONETestIntCA/private/*.key
-
git add
new & changed files (index*
,serial*
,certs/
,newcerts/
,req/
; NOT*.key
! Should have been deleted!) and push your changes to this repo (DataONE/ca
) -
Cleanup: add a calendar reminder for 1 month hence, to delete the cert zipfile from project.dataone.org (in directory
/var/www/project/html/o/
)! Warn the client now, that it will be deleted then.
- There should be no sparsebundle changes as a result of this process; however, MacOS may modify the metadata, so it shows as changed. It's safe to
git checkout --
the sparsebundle and ignore the change.