Trying to add extensions to my rust fingerprint

I am tryin to change my rust client fingerprint by adding (27,17513,41) ext numbers => 771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-[ 27 ext here ]-[ 17513 ext here ]-21-[ 41 ext here ],29-23-24,0

What I did:
Read the openssl doc and the tls ext table
Found a getter ExtensionType::CERT_COMPRESSION, ExtensionType::PADDING but no setter.
I am not using actual certificate in my rust client as I also disabled checking for it with verify mode.
Calling to read my ja3
Tried using clear_option and set_option to add and remove SslOption::NO_COMPRESSION but it did nothing // Disables the use of TLS compression
Read the github code and rust doc as all I can find is this about it (2020-12-02 draft-ietf-tls-certificate-compression is now RFC 8879)
Using boring / boring-hyper / hyper in my rust client
Tried using rustls but not enough supported ciphers.

Do I need to have an actual certificate and find someway to compress it? Did I miss something crucial? If there is a solution, does it work on rest of the ExtensionTypes? Is it not implemented for rust yet?

Tryin to mimic the chrome fingerprint for rust, I already have an app running in electron client and Go (with libraries) both have chrome fingerprint. Now doing it in rust for benchmark.

Any help or advice would be great, thanks alot.

let mut connector = HttpConnector::new();

let mut ssl = SslConnector::builder(SslMethod::tls()).unwrap();


let ssl = HttpsConnector::with_connector(connector, ssl).unwrap();

let client = Client::builder()
.build::<_, Body>(ssl);

let req = Request::builder()
.header("user-agent", "my agent")

let res = client.request(req).await.unwrap();
let buf = body::to_bytes(res).await.unwrap();
println!("{:#?}", buf);

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.