Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Action Certificate Creation #770

Closed
dansiegel opened this issue May 8, 2017 · 10 comments
Closed

Post Action Certificate Creation #770

dansiegel opened this issue May 8, 2017 · 10 comments
Labels
feature The issue defines new feature. gathering-feedback The issue requires feedback in order to be planned, please comment if the feature is useful for you triaged The issue was evaluated by the triage team, placed on correct area, next action defined.

Comments

@dansiegel
Copy link
Contributor

It would be highly valuable for a number of templates from UWP to Web to include a built in post action to create a self signed certificate for the project. In the case of UWP I believe this would need to also update the manifest while a web template wouldn't have such a requirement.

Having this as a built in post action would alleviate the need to write a custom script for each template requiring such a process or for the user to opt-in to running the scripts.

@mlorbetske
Copy link
Contributor

The current plan of record (no timeline yet though) for this is to offer the ability to create a certificate as a standalone tool & to pass in the certificate to the template as a set of parameters. Once that works, we're playing around with the notion of pre-actions that would work just like post-actions with the exception that they'd be able to generate input values - effectively combining the steps of generate the cert & tell the template about the aspects of it that need to be included in the created content.

@mlorbetske
Copy link
Contributor

Related to aspnet/DotNetTools#296

@mlorbetske mlorbetske added this to the 15.3-RTW milestone May 25, 2017
@mlorbetske
Copy link
Contributor

Talked with @javiercn and it looks like we may be able to borrow some bits from https://github.com/aspnet/DotNetTools/tree/dev/src/Microsoft.AspNetCore.CertificateGeneration.Task to make this happen

@javiercn
Copy link
Member

@mlorbetske I forgot to mention that the APIs are netcoreapp2.0 only, not sure if that will pose a problem for you.

@dansiegel
Copy link
Contributor Author

@javiercn isn't 2.0 supposed to be compatible with everything under the sun like UWP and Xamarin?

@mlorbetske
Copy link
Contributor

@dansiegel the main issue is that the projects in this repo all target netcoreapp1.1 or netstandard1.x ;) Working on a plan - thinking it may be possible to define this post action off at the edges (CLI, VS, VS4Mac) to where we don't need to worry about that particular aspect.

@poveilleux
Copy link

Hi,
Has there been some work done on this recently?
Thanks!

@donJoseLuis donJoseLuis added triaged The issue was evaluated by the triage team, placed on correct area, next action defined. and removed enhancement labels Mar 19, 2020
@donJoseLuis donJoseLuis removed this from the 15.3-RTW milestone Mar 19, 2020
@AR-May AR-May added the feature The issue defines new feature. label Oct 19, 2020
@vlada-shubina vlada-shubina added gathering-feedback The issue requires feedback in order to be planned, please comment if the feature is useful for you and removed size:3.0 triaged The issue was evaluated by the triage team, placed on correct area, next action defined. labels Jan 14, 2021
@vlada-shubina
Copy link
Member

We would like to get more recent feedback on the issue as it is quite old:

  • is this feature still needed?
  • can it be worked around by using Run script post action?

One of the possible solutions can be that we create new post action that internally calls dotnet dev-certs for certificate creation. This might not cover all use cases though.
However, we are considering it as low priority, and possibly will not implement it now unless the feedback is provided.

Thank you

@javiercn
Copy link
Member

This is not important for ASP.NET Core scenarios.

We handle things differently, our certificate is installed in the certificate store and its populated as part of the first run experience. I can't speak for other scenarios.

@vlada-shubina vlada-shubina added the triaged The issue was evaluated by the triage team, placed on correct area, next action defined. label Feb 15, 2021
@YuliiaKovalova
Copy link
Member

Close with Low Priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature The issue defines new feature. gathering-feedback The issue requires feedback in order to be planned, please comment if the feature is useful for you triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Projects
None yet
Development

No branches or pull requests

8 participants