I know there is a method "UseHttps" in the class "KestrelServerOptions" that accepts a single certificate, but is it possible to specify more than 1 SSL cert in order to be able to work with multiple domains and multiple certificates within a single instance of Kestrel?
Is it possible to specify 2 different SSL certificates for a single instance of Kestrel server?
791 views Asked by Dmitry At
1
There are 1 answers
Related Questions in SSL
- Django's previous settings prevent connecting to localhost
- SSL error when redirecting from one lightsail subdomain to lightsail subdomain on different account
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- Reversed TLS re-connection issue
- Nginx configuration file and SSL certificate errors in Docker
- IBM DB2 console doesn't work after SSL certificate update
- mTLS not working with FastAPI and Uvicorn
- WSO2 change localhost - ERR_CERT_AUTHORITY_INVALID
- KeyCloak Handshake causing timeout
- Python SSL Error , Server side - Client certificate verify failing with Intermediate cert - self-signed certificate in certificate chain (_ssl.c:1007)
- Apps migrated from IIS server1 to another IIS server2 stopped communicating with an App on IIS server 1 via SSL (HTTPS)
- Let Artifactory use HTTPS settings
- Even though I added my SSL certificate, I get the "not secure" error
- CST 0001 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 173.725µs with error EOF remoteaddress=127.0.0.1:7051
- ERR_SSL_PROTOCOL_ERROR generated using X509 certificate with Kestrel hosting in .NET 8 on Linux
Related Questions in HTTPS
- HTTPS configuration in Spring Boot, server returning timeout
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- My VPS does not accept HTTPS requests on a port other than 443
- Let Artifactory use HTTPS settings
- How to move updates from Google Play to another server
- Does a 403 error occur if there is no user-agent on the proxy network?
- How to fix HTTPS on express-gateway
- Can we check whether s3 bucket is currently accessed via http in any 1 of the account
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- How do I fix this "Internal Server Error" I keep getting?
- Permission denied error on pfx certificate in docker ASP.NET Core 8 HTTPS on Ubuntu
- Mac Sonoma 14.4 Dotnet 8.0.203 SDK webapi https error
- Connect to wss that uses the same port as the rest of backend using nginx
- TLS: failed to verify certificate: x509: cannot validate certificate for <IP> because it doesn't contain any IP SANs
- Preventing Data Tampering in HTTPS Requests: Safeguarding User-Initiated Donations
Related Questions in KESTREL-HTTP-SERVER
- ERR_SSL_PROTOCOL_ERROR generated using X509 certificate with Kestrel hosting in .NET 8 on Linux
- Can I write a custom exception handler for Kestrel?
- Blazor unable to reach login.microsoftonline.com due to network setup
- Using Kestrel and middleware how to figure out the class type that was passed in from a Post or Put request?
- How to return FileInfo in AspNet Core MVC
- dev certificate not trusted .NET CORE API running on kestrel
- System.Net.Sockets.SocketException exceptions with "Operation canceled" message in trace files when running an ASP.NET Core 3.1 web application
- Access to the path is denied when trying to run ASP.NET Core app in docker with https
- Configure Kestrel GraphQL to authenticate user
- File upload and serve extremely slow
- Unresponsive .NET Kestrel on Ubuntu 20
- UrlRewrite module for .NET Core using Kestrel
- Permission to certificate denied in docker container running kestrel webserver
- How to support multiple authentication schemes (Basic and Negotiate) with .net 8 and Kestrel?
- Kestrel Webserver in .Net 6.0: REST-API to old native single-Threaded Library
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It's possible by setting the ServerCertificateSelector property when calling UseHttps(). The selector is a callback that you implement by yourself and it is provided with a string parameter which indicates what is the DNS host used by the client to communicate with your server. You can treat this parameter and return the relevant certificate.
Taken from Microsoft docs: