So I have problem when i try to use SSL Certificate to my cloud service extended. "Failed to update the deployment for cloud service 'salumfif1'. Reason: The CSCFG did not match the CSDEF within the supplied CSPKG. Please use the documentation at https://aka.ms/cses-cscfg-csdef to understand more about CSCFG and CSDEF. More details: Certificate identification setting 'calumssl1' for role 'Tampilan' specified in the service configuration file is not declared in the service definition file in the Certificate or as part of an SSL endpoint"
my cscfg file:
<ServiceConfiguration serviceName="Percobaan2" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="6" osVersion="*" schemaVersion="2015-04.2.6">
<Role name="Tampilan">
<Instances count="1" />
<Certificates>
<Certificate name="calumssl1" thumbprint="D1D614163258E827822BA119E147341B8ED7B226" thumbprintAlgorithm="sha1" />
</Certificates>
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
</ConfigurationSettings>
</Role>
<Role name="WorkerRole1">
<Instances count="1" />
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
</ConfigurationSettings>
</Role>
my csdef file :
<ServiceDefinition name="Percobaan2" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2015-04.2.6">
<WebRole name="Tampilan" vmsize="Standard_D1_v2">
<Sites>
<Site name="Web">
<Bindings>
<Binding name="Endpoint1" endpointName="Endpoint1" />
<Binding name="HttpsIn" endpointName="HttpsIn" />
</Bindings>
</Site>
</Sites>
<ConfigurationSettings>
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" />
</ConfigurationSettings>
<Endpoints>
<InputEndpoint name="Endpoint1" protocol="http" port="80" />
<InputEndpoint name="HttpsIn" protocol="https" port="443" certificate="SSL" />
</Endpoints>
<Certificates>
<Certificate name="calumssl1" storeLocation="LocalMachine" storeName="calumsto" permissionLevel="limitedOrElevated" />
</Certificates>
<Contents>
<Content destination=".\">
<SourceDirectory path="D:\MSVS\REPOS\xxx\TampilanContent\" />
</Content>
</Contents>
</WebRole>
Where did i do wrong and please help for the solution, thank you