I have a need for basic site where when you go to the site and you are prompted to download an SSL certificate from the F5. There doesnt need to be any content, just the cert. This would be similar to an IIS site where if i go to https://mysite.site.com/sslcertificate.crt, it downloads the cert, the cert is just sitting in the root directory for the site.
I did try a basic “ifile get certname” irule. It loads the cert as text and displays it in the browser instead of prompting to download.
I have the certificate already. I need to provide it to a number of end user devices to allow an application to function. These are not traditionally managed devices so I currently dont have a way to “deploy” the certificate to them. It is also end user facing so the simpler the better.
OK. Despite the endpoint having the cert already (Because they just accepted it), I suspect your original problem (Displaying rather than prompting for download) is more related to the headers being wrong, or missing.
Probably Content-Type…
Use curl to try a site you know works ((With the -v parameter) and compare that to the headers you’re returning from your iRule