Skip to content
View cuttlfish's full-sized avatar

Block or report cuttlfish

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
cuttlfish/README.md
  • 👋 Hi, I’m @cuttlfish
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

dotnet certificates

For linux use these steps to create dev cert

dotnet dev-certs https -ep ~/.aspnet/https/aspnetapp.pem --format PEM sudo cp ~/.aspnet/https/aspnetapp.pem /etc/ssl/certs/ sudo update-ca-certificates

With this running a simple web app will allow curl to work

Simple webapp can be created

dotnet new webapp -n AspNetCoreDemo -o firstwebapp

This allows curl to access the https url of the webapp

Linux http client

Linux http client still has problem because in C# http client it doesn't look at /etc/ssl/certs/ca.crt when making request. Cert errors can be ignored by overwriting ServerCertificateCustomValidationCallback and just returning true even though there was an error

Popular repositories Loading

  1. try_git try_git Public

  2. functions-quickstart functions-quickstart Public

    Forked from Azure-Samples/functions-quickstart

    Starter project templates for the Azure Functions quickstart using the Azure CLI:

    F#

  3. ThunderNanoServices ThunderNanoServices Public

    Forked from rdkcentral/ThunderNanoServices

    Thunder NanoServices & AppEngines (aka WPEFrameworkPlugins)

    C++

  4. cuttlfish cuttlfish Public

    Config files for my GitHub profile.