libressl: improve cert handling
libressl: improve cert handling

Missed the release notes a couple of versions back that LibreSSL had
killed off the useful c_rehash script OpenSSL uses to support custom
added certs and merged it into the OpenSSL command itself, with some
changes.

This PR just allows people to take advantage of it without so much
manual intervention and discovery. Nothing too fancy.

Closes Homebrew/homebrew#38521.

Signed-off-by: Tim D. Smith <46f1a0bd5592a2f9244ca321b129902a06b53e03@tim-smith.us>

bfontaine/homebrew-core,andyjeffries/homebrew-core,chrisfinazzo/homebrew-core,zyedidia/homebrew-core,mvbattista/homebrew-core,ShivaHuang/homebrew-core,smessmer/homebrew-core,fvioz/homebrew-core,maxim-belkin/homebrew-core,git-lfs/homebrew-core,sdorra/homebrew-core,reelsense/homebrew-core,LinuxbrewTestBot/homebrew-core,zyedidia/homebrew-core,edporras/homebrew-core,mvitz/homebrew-core,adamliter/homebrew-core,passerbyid/homebrew-core,stgraber/homebrew-core,wolffaxn/homebrew-core,mfikes/homebrew-core,JCount/homebrew-core,Moisan/homebrew-core,j-bennet/homebrew-core,BrewTestBot/homebrew-core,zmwangx/homebrew-core,lembacon/homebrew-core,smessmer/homebrew-core,filcab/homebrew-core,robohack/homebrew-core,ilovezfs/homebrew-core,jvillard/homebrew-core,battlemidget/homebrew-core,gserra-olx/homebrew-core,lembacon/homebrew-core,adam-moss/homebrew-core,nandub/homebrew-core,cblecker/homebrew-core,gserra-olx/homebrew-core,aren55555/homebrew-core,nandub/homebrew-core,straxhaber/homebrew-core,moderndeveloperllc/homebrew-core,FinalDes/homebrew-core,lembacon/homebrew-core,mbcoguno/homebrew-core,ilovezfs/homebrew-core,bcg62/homebrew-core,ylluminarious/homebrew-core,lasote/homebrew-core,spaam/homebrew-core,ylluminarious/homebrew-core,makigumo/homebrew-core,aren55555/homebrew-core,bcg62/homebrew-core,FinalDes/homebrew-core,reelsense/homebrew-core,Linuxbrew/homebrew-core,passerbyid/homebrew-core,filcab/homebrew-core,wolffaxn/homebrew-core,adam-moss/homebrew-core,mvbattista/homebrew-core,mvitz/homebrew-core,cblecker/homebrew-core,zmwangx/homebrew-core,jabenninghoff/homebrew-core,grhawk/homebrew-core,rwhogg/homebrew-core,jdubois/homebrew-core,adamliter/homebrew-core,git-lfs/homebrew-core,aabdnn/homebrew-core,j-bennet/homebrew-core,aabdnn/homebrew-core,tkoenig/homebrew-core,tkoenig/homebrew-core,forevergenin/homebrew-core,kuahyeow/homebrew-core,robohack/homebrew-core,andyjeffries/homebrew-core,Moisan/homebrew-core,jvillard/homebrew-core,grhawk/homebrew-core,JCount/homebrew-core,jdubois/homebrew-core,sjackman/homebrew-core,Linuxbrew/homebrew-core,sjackman/homebrew-core,mbcoguno/homebrew-core,lemzwerg/homebrew-core,nbari/homebrew-core,jvehent/homebrew-core,DomT4/homebrew-core,edporras/homebrew-core,DomT4/homebrew-core,bigbes/homebrew-core,mfikes/homebrew-core,mahori/homebrew-core,phusion/homebrew-core,Homebrew/homebrew-core,jdubois/homebrew-core,lemzwerg/homebrew-core,sdorra/homebrew-core,makigumo/homebrew-core,forevergenin/homebrew-core,wolffaxn/homebrew-core,bigbes/homebrew-core,nbari/homebrew-core,chrisfinazzo/homebrew-core,ShivaHuang/homebrew-core,BrewTestBot/homebrew-core,lasote/homebrew-core,dsXLII/homebrew-core,kunickiaj/homebrew-core,phusion/homebrew-core,rwhogg/homebrew-core,spaam/homebrew-core,uyjulian/homebrew-core,Homebrew/homebrew-core,straxhaber/homebrew-core,mbcoguno/homebrew-core,battlemidget/homebrew-core,fvioz/homebrew-core,bfontaine/homebrew-core,mahori/homebrew-core,kuahyeow/homebrew-core,LinuxbrewTestBot/homebrew-core,stgraber/homebrew-core,jvillard/homebrew-core,kunickiaj/homebrew-core,moderndeveloperllc/homebrew-core,uyjulian/homebrew-core,jabenninghoff/homebrew-core,maxim-belkin/homebrew-core,dsXLII/homebrew-core,jvehent/homebrew-core,mvitz/homebrew-core,bcg62/homebrew-core