anchor.diff:  
       ok = ssl_manager:clear_pem_cache().
   
  -restart_ssl_services() ->
  +all_services() ->
  +    [ssl_service, capi_ssl_service, xdcr_proxy, query_svc, memcached].
  +
  +notify_service(ssl_service) ->
       %% NOTE: We're going to talk to our supervisor so if we do it
       %% synchronously there's chance of deadlock if supervisor is about
       %% to shutdown us.
  
positive.code:     Compat30 = cluster_compat_mode:is_cluster_30(),
      Node = node(),
      save_cert_pkey(CertPEM, PKeyPEM, Compat30, Node),
      proc_lib:init_ack({ok, Self}),
  
      %% it's possible that we crashed somehow and not passed updated
      %% cert and pkey to xdcr proxy. So we just attempt to restart it
      %% on every init
      restart_xdcr_proxy(),
      query_rest:maybe_refresh_cert(),
  
      gen_server:enter_loop(?MODULE, [],
                            build_state(CertPEM, PKeyPEM, Compat30, Node)).
  
  format_status(_Opt, [_PDict, _State]) ->
      {}.
  
negative.code: 
  -behavior(gen_server).
  
  -record(state, {cert_state,
                  reload_state}).
  
  -record(cert_state, {cert,
                       pkey,
                       compat_30,
                       node}).
  
  start_link() ->
      gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
  