2017-11-10 14:47:05 -08:00
|
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
|
|
|
|
|
using Microsoft.DotNet.Configurer;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli
|
|
|
|
|
{
|
|
|
|
|
public class AspNetCoreCertificateGenerator : IAspNetCoreCertificateGenerator
|
|
|
|
|
{
|
|
|
|
|
public void GenerateAspNetCoreDevelopmentCertificate()
|
|
|
|
|
{
|
2018-05-01 12:41:38 -07:00
|
|
|
|
#if !EXCLUDE_ASPNETCORE
|
2018-04-30 17:49:09 -07:00
|
|
|
|
Microsoft.AspNetCore.DeveloperCertificates.XPlat.CertificateGenerator.GenerateAspNetHttpsCertificate();
|
|
|
|
|
#endif
|
2017-11-10 14:47:05 -08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|