Coder Social home page Coder Social logo

No root certs returned about certes HOT 8 CLOSED

fszlin avatar fszlin commented on July 17, 2024
No root certs returned

from certes.

Comments (8)

fszlin avatar fszlin commented on July 17, 2024

Hi Louis, the issuers field should at least contains the certificates form Resources/Certificates.
There're two root certificates embedded, one for prod and one staging.

I am wondering if it is bad build~
Did you get it from nuget, and which version?

issuers

from certes.

antonellil avatar antonellil commented on July 17, 2024

Interesting, so that issuers variable is not dependent on my implementation? I will look into that. I am using a version of the code from this demo/tutorial https://github.com/Maarten88/rrod. It is located here: https://github.com/Maarten88/rrod/tree/master/lib. I believe it is the master source

from certes.

fszlin avatar fszlin commented on July 17, 2024

The LE server also returns intermediate certificates, which are being added to issuers. I think that’s why you got two certificates.
If building from source, just make sure the certificates are embedded in the assembly.

from certes.

antonellil avatar antonellil commented on July 17, 2024

Thank you, that makes sense, I will check when I get home and report back.

from certes.

antonellil avatar antonellil commented on July 17, 2024

fszlin, I know how to mark embedded resources using Visual Studio IDE, but I am searching on how to properly embed those certificates in my DotNet Core project using VS Code. I am assuming I need to add something to the .csproj? I am not sure

from certes.

antonellil avatar antonellil commented on July 17, 2024

Also, I can confirm that those certificates are not being included. I logged the manifest resource names to the console and it is an empty array.

from certes.

antonellil avatar antonellil commented on July 17, 2024

GOT IT! WOO!

I needed to embed with:
<ItemGroup> <EmbeddedResource Include="**/*.cer" /> </ItemGroup>

With everything changing in .Net Core from package.json to .csproj it was a little difficult to find

from certes.

antonellil avatar antonellil commented on July 17, 2024

Thank you SO much fszlin!

from certes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.