mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 03:48:25 -04:00
Updated Login.gov section
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
29
docs/all.md
29
docs/all.md
@@ -1385,9 +1385,18 @@ $ ./run.sh apply -replace=cloudfoundry_service_key.bucket_creds
|
|||||||
|
|
||||||
Once that's done, copy the key generating to the staging, demo, and production environments of both the API and the Admin.
|
Once that's done, copy the key generating to the staging, demo, and production environments of both the API and the Admin.
|
||||||
|
|
||||||
### Login.gov certificate rotate
|
### Refreshing/rotating the Login.gov certificate
|
||||||
|
|
||||||
More information coming soon; please see the [Login.gov developer guide on certificates](https://developers.login.gov/oidc/certificates/) for additional help.
|
1. generate certificate: `openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.crt -nodes`
|
||||||
|
1. update the github secrets for staging, demo, production (contents of key.pem go in LOGIN_PEM and contents of cert.crt in LOGIN_PUB). **DO NOT RESTAGE YET**.
|
||||||
|
1. use the same certificate for staging, demo, and production
|
||||||
|
1. login to the login.gov partner app (https://portal.int.identitysandbox.gov)
|
||||||
|
1. add the new certificate to the production version of Notify in the partner app (our partner app account has sandbox and production)
|
||||||
|
1. Make a Zendesk support request for login.gov to push the new version of Notify (https://zendesk.login.gov)
|
||||||
|
1. Do not delete the old certificate, because you need things to keep working until you complete the transition.
|
||||||
|
1. When you receive an email from login.gov that the app has been pushed successfully, restage notify on the staging tier
|
||||||
|
1. If staging works, you can restage demo and production
|
||||||
|
1. Delete the old certificate in the partner app, send another zendesk request to push again. This is best practice but a lower priority, because certificates eventually expire anyway and we have changed the certificate in github secrets, so the old cert is no longer relevant.
|
||||||
|
|
||||||
|
|
||||||
## <a name="gotcha"></a> Known Gotchas
|
## <a name="gotcha"></a> Known Gotchas
|
||||||
@@ -1625,19 +1634,3 @@ Note: better to search on space 'notify-production' rather than specifically for
|
|||||||
#notify-admin-1505 (general login issues)
|
#notify-admin-1505 (general login issues)
|
||||||
#notify-admin-1701 (wrong sender phone number)
|
#notify-admin-1701 (wrong sender phone number)
|
||||||
#notify-admin-1859 (job is created with created_at being the wrong time)
|
#notify-admin-1859 (job is created with created_at being the wrong time)
|
||||||
|
|
||||||
### refreshing the login.gov certificate
|
|
||||||
|
|
||||||
1. generate certificate: `openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.crt -nodes`
|
|
||||||
2. update the github secrets for staging, demo, production (contents of key.pem go in LOGIN_PEM and contents of cert.crt in LOGIN_PUB).
|
|
||||||
DO NOT RESTAGE YET.
|
|
||||||
3. use the same certificate for staging, demo, and production
|
|
||||||
4. login to the login.gov partner app (https://portal.int.identitysandbox.gov)
|
|
||||||
5. add the new certificate to the production version of Notify in the partner app (our partner app account has sandbox and production)
|
|
||||||
6. Make a Zendesk support request for login.gov to push the new version of Notify (https://zendesk.login.gov)
|
|
||||||
7. Do not delete the old certificate, because you need things to keep working until you complete the transition.
|
|
||||||
8. When you receive an email from login.gov that the app has been pushed successfully, restage notify on the staging tier
|
|
||||||
9. If staging works, you can restage demo and production
|
|
||||||
10. Delete the old certificate in the partner app, send another zendesk request to push again. This is best practice but a lower
|
|
||||||
priority, because certificates eventually expire anyway and we have changed the certificate in github secrets, so the old cert is
|
|
||||||
no longer relevant.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user