Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

New Post: Need help with error assigning SSL certs

$
0
0
Hi, I'm getting the following error when running the installer on Server 2012 with SP2013 patched with March 13 CU. Any ideas?

See details below:

  • Creating web applications...
  • Web app "MySite Host" already provisioned.
  • Assigning certificate to site "https://mysites:443"
  • Looking for existing "mysites" certificate...
  • None found.
  • Creating new self-signed certificate...
  • Certificate "CN=mysites" found.
  • Exporting "CN=mysites" to "mysites.cer"...
  • Importing "mysites.cer" to Local Machine\Root...

- Assigning certificate "CN=mysites" to SSL-enabled site...

  • Script halted!
Exception : System.ComponentModel.Win32Exception (0x80004005): Cannot create a file when that file already
                    exists
                       at Microsoft.IIs.PowerShell.Framework.HttpApi.CreateSSLBinding(IPEndPoint endPoint, String 
                    hostName, HTTP_SERVICE_CONFIG_SSL_PARAM_MANAGED allSSLData, SslFlags sslFlags)
                       at Microsoft.IIs.PowerShell.Framework.SslBindingFactory.CreateInstance(String name, String 
                    typeName, INamespaceNode parent, Object dynamicParameters, Object newObject, Boolean force, 
                    Boolean recurse, TypeManager tm, CmdletProvider provider)
                       at Microsoft.IIs.PowerShell.Provider.ConfigurationProvider.NewItem(String path, String 
                    itemTypeName, Object newItemValue)
                       at System.Management.Automation.SessionStateInternal.NewItemPrivate(CmdletProvider 
                    providerInstance, String path, String type, Object content, CmdletProviderContext context)
TargetObject :
CategoryInfo : NotSpecified: (:) [New-Item], Win32Exception
FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.NewItemCommand
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at AssignCert, C:\SPInstall\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 1709
                    at CreateWebApp, C:\SPInstall\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 1813
                    at CreateWebApplications, C:\SPInstall\AutoSPInstaller\AutoSPInstallerFunctions.ps1: line 1732
                    at Setup-Farm, C:\SPInstall\AutoSPInstaller\AutoSPInstallerMain.ps1: line 159
                    at <ScriptBlock>, C:\SPInstall\AutoSPInstaller\AutoSPInstallerMain.ps1: line 321
                    at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails :

Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>