Hello,
The 500.19 error after applying the IIS baseline is almost always tied to classic ASP and ISAPI dependencies that Web Enrollment requires. The /certsrv site runs under DefaultAppPool, and the ApplicationPoolIdentity must retain read/execute rights on %systemroot%\system32\certsrv and %systemroot%\system32\inetsrv\asp.dll. If those permissions were stripped, the site fails immediately. You should also confirm that the ASP ISAPI extension (asp.dll) is marked as Allowed under ISAPI/CGI Restrictions, since many baselines disable it. The Classic ASP handler mapping for *.asp must still exist; if removed, IIS cannot process the enrollment pages. Request Filtering rules are another common issue—deny rules for .asp or .cer extensions, or disabling parent paths, will break the site. In short, validate AppPool identity permissions, ISAPI restrictions, handler mappings, and request filtering. Restoring those settings usually resolves the 500.19 error without impacting the CA service itself.
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!
DV.