Good Morning I was able to get it to work. Thank you all for the help it was combination of everyone response that did it for us. We did not have to use a UAG, the certificate we gave the Connection server had to be from CA and we used a wildcard cert, changes were done to the locked file and on the connection server we had to enable "Blast Secure Gateway for only HTML Access" along with change the url to the dns entry that we created to use so that the server itself would not randomly appear with the certificate error when selecting the VM which was what Victor mentioned on modifying the URLs on the server to math the certificate details since the certificate is a wildcard cert. Below are the changes to the locked file.
enableCORS=false
checkOrigin=false
portalHost.1= url given to access bm
portalHost.2= server FQDN
allowUnexpectedHost=true