Download ABM Certificate with correct extension (#23861)

#23021
This commit is contained in:
Dante Catalfamo 2024-11-15 16:02:35 -05:00 committed by GitHub
parent 848caac773
commit 36e22af0ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
- Download ABM public key as PEM format instead of CRT

View file

@ -21,7 +21,7 @@ interface IDownloadABMKeyProps {
}
const downloadKeyFile = (data: { public_key: string }) => {
downloadBase64ToFile(data.public_key, "fleet-mdm-apple-bm-public-key.crt");
downloadBase64ToFile(data.public_key, "fleet-mdm-apple-bm-public-key.pem");
};
// TODO: why can't we use Content-Dispostion for these? We're only getting one file back now.