Starts in:
2 DAYS
7 HRS
30 MIN
49 SEC
Starts in:
2 D
7 H
30 M
49 S
Open Closed

SSL Certificate and production environment in local domain #6568


User avatar
0
selman created

Hi,

We want to publish the application we developed. Internet access is not possible in the production environment of the application. With AuthServer, our API and Blazor project were developed separately from each other. Since ABP has to communicate via https. A locally generated certificate is always insecure.

I want to broadcast to the local network as https://xcompanylocalapp.com and allow users to access the application securely. (local domain DNS server etc.)

Therefore, what kind of structure should I build the application in the local environment?

  • ABP Framework version: v8.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • **Auth Server Separated (for Blazor): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://docs.abp.io/en/abp/latest/Deployment/SSL

  • User Avatar
    0
    selman created

    Thank you for the answer. I have already created a self-signed certificate for internal uses, but when the API is initialized (sending a 'https://***/health-status' request to self) it gets the error "The remote certificate is invalid based on the verification procedure: RemoteCertificateNameMismatch". What is the error? When I tried to understand it, I realized it was like this: An error occurred because it was an untrusted certificate.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What about other's requests? or only health-status have this error

  • User Avatar
    0
    selman created

    Api crashes because of this error. For this reason, there is no other request.

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    If you are using containerized deployment, you should override the App__HealthCheckUrl to service name like:

    App__HealthCheckUrl=http://api-service-name/health-status
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06