            (&Method::Get, "/pubkey.pem") => {
                let mut path = {
                    let config = match self.config.read() {
                        Ok(c) => c,
                        Err(e) => {
                            warn!("Failed to get read lock: {:?}", e);
                            return internal_server_error();
                        }
                    };
                    config.key_path.clone()
                };
                path.push("ecpubkey.pem");
                read_file(&path)
            }