{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/18262","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/18262/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/18262/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/18262/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/18262","id":377633141,"node_id":"MDU6SXNzdWUzNzc2MzMxNDE=","number":18262,"title":"PowerShell self-signed certificate code needs corrections ","user":{"login":"arnabganguly","id":10512455,"node_id":"MDQ6VXNlcjEwNTEyNDU1","avatar_url":"https://avatars1.githubusercontent.com/u/10512455?v=4","gravatar_id":"","url":"https://api.github.com/users/arnabganguly","html_url":"https://github.com/arnabganguly","followers_url":"https://api.github.com/users/arnabganguly/followers","following_url":"https://api.github.com/users/arnabganguly/following{/other_user}","gists_url":"https://api.github.com/users/arnabganguly/gists{/gist_id}","starred_url":"https://api.github.com/users/arnabganguly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnabganguly/subscriptions","organizations_url":"https://api.github.com/users/arnabganguly/orgs","repos_url":"https://api.github.com/users/arnabganguly/repos","events_url":"https://api.github.com/users/arnabganguly/events{/privacy}","received_events_url":"https://api.github.com/users/arnabganguly/received_events","type":"User","site_admin":false},"labels":[{"id":646555990,"node_id":"MDU6TGFiZWw2NDY1NTU5OTA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/active-directory/svc","name":"active-directory/svc","color":"0040cc","default":false},{"id":836703193,"node_id":"MDU6TGFiZWw4MzY3MDMxOTM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"node_id":"MDU6TGFiZWw4MzY3MDMzMDg=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":853283851,"node_id":"MDU6TGFiZWw4NTMyODM4NTE=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"SaurabhSharma-MSFT","id":38112130,"node_id":"MDQ6VXNlcjM4MTEyMTMw","avatar_url":"https://avatars3.githubusercontent.com/u/38112130?v=4","gravatar_id":"","url":"https://api.github.com/users/SaurabhSharma-MSFT","html_url":"https://github.com/SaurabhSharma-MSFT","followers_url":"https://api.github.com/users/SaurabhSharma-MSFT/followers","following_url":"https://api.github.com/users/SaurabhSharma-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SaurabhSharma-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SaurabhSharma-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaurabhSharma-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SaurabhSharma-MSFT/orgs","repos_url":"https://api.github.com/users/SaurabhSharma-MSFT/repos","events_url":"https://api.github.com/users/SaurabhSharma-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SaurabhSharma-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"SaurabhSharma-MSFT","id":38112130,"node_id":"MDQ6VXNlcjM4MTEyMTMw","avatar_url":"https://avatars3.githubusercontent.com/u/38112130?v=4","gravatar_id":"","url":"https://api.github.com/users/SaurabhSharma-MSFT","html_url":"https://github.com/SaurabhSharma-MSFT","followers_url":"https://api.github.com/users/SaurabhSharma-MSFT/followers","following_url":"https://api.github.com/users/SaurabhSharma-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SaurabhSharma-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SaurabhSharma-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaurabhSharma-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SaurabhSharma-MSFT/orgs","repos_url":"https://api.github.com/users/SaurabhSharma-MSFT/repos","events_url":"https://api.github.com/users/SaurabhSharma-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SaurabhSharma-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-05T23:52:38Z","updated_at":"2018-11-06T12:59:17Z","closed_at":null,"author_association":"NONE","body":"The current code in the PowerShell for Self signed certificate leads to an error when used for creating an Enterprise Security Package based HDInsight Cluster.  The error is related to the domain names that need to be used in the Subject and Dns name. \r\n\r\nThe issue was also partially addressed in the link  https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap.\r\n\r\n\r\nPlease change the PowerShell code to the below\r\n****************************************************** \r\n\r\nNew-SelfSignedCertificate -Subject *.contoso100.com '\r\n-NotAfter $lifetime.AddDays(365) -KeyUsage DigitalSignature, KeyEncipherment  \r\n-Type SSLServerAuthentication -DnsName \"*.contoso100.com\",\"contoso100.com\"\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 41c4b68f-055e-3983-68dd-fc37c3f72da9\r\n* Version Independent ID: 0008043c-8703-85b4-ff09-3a087a65c29b\r\n* Content: [Configure Secure LDAP (LDAPS) in Azure AD Domain Services](https://docs.microsoft.com/en-us/azure/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap)\r\n* Content Source: [articles/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap.md](https://github.com/Microsoft/azure-docs/blob/master/articles/active-directory-domain-services/active-directory-ds-admin-guide-configure-secure-ldap.md)\r\n* Service: **active-directory**\r\n* GitHub Login: @eringreenlee\r\n* Microsoft Alias: **ergreenl**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/436243737","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/18262#issuecomment-436243737","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/18262","id":436243737,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjI0MzczNw==","user":{"login":"SaurabhSharma-MSFT","id":38112130,"node_id":"MDQ6VXNlcjM4MTEyMTMw","avatar_url":"https://avatars3.githubusercontent.com/u/38112130?v=4","gravatar_id":"","url":"https://api.github.com/users/SaurabhSharma-MSFT","html_url":"https://github.com/SaurabhSharma-MSFT","followers_url":"https://api.github.com/users/SaurabhSharma-MSFT/followers","following_url":"https://api.github.com/users/SaurabhSharma-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SaurabhSharma-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SaurabhSharma-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaurabhSharma-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SaurabhSharma-MSFT/orgs","repos_url":"https://api.github.com/users/SaurabhSharma-MSFT/repos","events_url":"https://api.github.com/users/SaurabhSharma-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SaurabhSharma-MSFT/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T12:59:17Z","updated_at":"2018-11-06T12:59:17Z","author_association":"CONTRIBUTOR","body":"@arnabganguly I am able to run the command as mentioned in the document.\r\n![image](https://user-images.githubusercontent.com/38112130/44291115-2f921480-a231-11e8-8e83-d3735054ca19.png)\r\n"}}
{"actor":{"display_login":"SaurabhSharma-MSFT"}}