Change Server but not change certificate
-
@Tom-Elliott not works!
The same error appears:[Mon Mar 21 18:05:51.390582 2016] [ssl:emerg] [pid 27939] AH02565: Certificate and private key 172.20.1.251:443:0 from /var/www/fog/management/other/ssl/srvpublic.crt and /opt/fog/snapins/ssl/.srvprivate.key do not match AH00016: Configuration Failed
-
@danilopinotti So your main server is also having issues?
-
-
@danilopinotti After copying the files are you re-running the installer on the place you copied it to?
-
@Jbob said:
If you copied over the root CA keys (it sounds like you did), run ./installfog.sh --recreate-keys
With this argument it will take advantage of the old scripts or create new keys?
-
@danilopinotti It will use the old CA to generate a new Private key.
-
@Tom-Elliott said:
It will use the old CA to generate a new Private key.
In that case I’ll have to reinstall the client on all computers again?
-
@danilopinotti No. The ca.cert.der and ca.cert.pem files should be identical to what your clients already have.
The clients will need to reget the srvpublic.crt file (which they’ll do automatically anyway). This is checked very pass where the encryption key is no longer valid and on initial authentication.
-
@Tom-Elliott
So I will not have to redo the settings in clients? -
@danilopinotti Correct.