Inter-sync gateway replication with self-signed certificate

Is it possible to run an inter-sync gateway replication with self-signed certificates? I would like to use TLS in our test environment, where my server is using a self-signed CA.

2020-10-27T17:02:51.440-07:00 [INF] Replicate: Created active replicator ID:sv2_cloud statusKey: _sync:sgrStatus:sv2_cloud
2020-10-27T17:02:51.696-07:00 [INF] Replicate: c:sv2_cloud-push ActiveReplicator had error state set with err: Get https://ACT_HOSPITAL:***@52.3.244.145:4984/synergy_sv2_cloud: x509: certificate signed by unknown authority
2020-10-27T17:02:51.696-07:00 [WRN] c:sv2_cloud-push Couldn't connect. Attempting to reconnect in background: Get https://ACT_HOSPITAL:***@52.3.244.145:4984/synergy_sv2_cloud: x509: certificate signed by unknown authority -- db.(*ActivePushReplicator).Start() at active_replicator_push.go:46
2020-10-27T17:02:51.698-07:00 [WRN] Unable to start replication sv2_cloud: Get https://ACT_HOSPITAL:***@52.3.244.145:4984/synergy_sv2_cloud: x509: certificate signed by unknown authority -- db.(*sgReplicateManager).StartReplications() at sg_replicate_cfg.go:460
2020-10-27T17:02:51.934-07:00 [INF] Replicate: c:sv2_cloud-push error starting replicator on reconnect: Get https://ACT_HOSPITAL:***@52.3.244.145:4984/synergy_sv2_cloud: x509: certificate signed by unknown authority

Yes, we have an “unsupported” config option just for that.

1 Like