There are several ways to load/generate private/public keypairs for the application right now. Let's take it a few steps back and make it one way. Why? This will simplify our deployment, configuration and reduce code paths to just get it running.
In server/config/ we will have:
private-key.pem
public-key.pem
the paths for these are baked into the application's code and can not be changed. They must exist otherwise the server won't start.
There are several ways to load/generate private/public keypairs for the application right now. Let's take it a few steps back and make it one way. Why? This will simplify our deployment, configuration and reduce code paths to just get it running.
In
server/config/
we will have:private-key.pem
public-key.pem
the paths for these are baked into the application's code and can not be changed. They must exist otherwise the server won't start.