$opts->rpc_user,
"rpc_password" => $opts->rpc_password,
"host"=>$opts->rpc_iphost,
"port"=>$opts->rpc_port,
"tls_verify_cert"=>isset($opts->rpc_ssl)?true:false,
];
/* And write the new config */
write_config();
?>
Great! Everything has been completely set up for you. You can now browse the admin panel.