GluuFederation / fido2

Fido2 server
MIT License
2 stars 4 forks source link

Changes to Python script for MDS3 upgrade #20

Closed maduvena closed 2 years ago

maduvena commented 2 years ago

New version of Gluu Server:

  1. on startup of fido2 server we need to do the following

wget https://mds.fidoalliance.org/ -O /etc/gluu/conf/fido2/mds/toc/toc.jwt

  1. wget http://secure.globalsign.com/cacert/root-r3.crt -O /etc/gluu/conf/fido2/mds/cert/root-r3.crt

  2. This folder /etc/gluu/conf/fido2/mds/toc/toc.jwt should have appropriate permissions because there will be a Timer Task will update this file toc.jwt by downloading the latest copy from the same location

For upgrade script:

  1. Delete whatever is present in /etc/gluu/conf/fido2/mds/toc/toc.jwt

  2. Get the latest - wget https://mds.fidoalliance.org/ -O /etc/gluu/conf/fido2/mds/toc/toc.jwt

  3. wget http://secure.globalsign.com/cacert/root-r3.crt -O /etc/gluu/conf/fido2/mds/cert/root-r3.crt

  4. This folder /etc/gluu/conf/fido2/mds/toc/toc.jwt should have appropriate permissions because there will be a Timer Task will update this file toc.jwt by downloading the latest copy from the same location