Earlier today I ran into a situation with the SCCM 2012 setup failing at the Creating Database stage. I’ve since resolved the matter and unfortunately don’t have the original ConfigMgrSetup.log file that referenced the specific error message, but it was something similar to the following:
[SQL Error -08001] SSL Error: The Certificate CN Name Does Not Match the Passed Value.
As it turns out, the server name I was provided for the SQL Server 2008 R2, SP1 (CU6) cluster was actually a DNS Canonical Name (CName) record for the cluster. Not the actually cluster name itself. The reasons for them doing this are out-of-scope for this post, but once I changed the name of the SQL server to the actual name of the cluster the setup proceeded without issue.
NOTE: Because of the point that the setup originally fails, you will have to uninstall the site and start over as the site is partially installed.