Enforce Server Cipher proposal in preferred order

Hi,

I want to change the server Cipher preferred order. I want EC preferred then RSA

like below

1, TLS13              AES256 GCM    SHA384
2, TLS13              AES128 GCM    SHA256
3, TLS13              CHACHA20 POLY1305    SHA256
4, TLS12    ECDHE    ECDSA    AES256 GCM    SHA384
5, TLS12    ECDHE    ECDSA    AES128 GCM    SHA256
6, TLS12    ECDHE    ECDSA    CHACHA20 POLY1305    SHA256

7+ all others RSA etc.

How do I achieve this?

Via iRule?

have you tried cipher groups?

I tried it. but how do i enforce below order ?

When the client sends the cipher proposal I want  f5 respond EC preferred then RSA. How i do it?

1, TLS13              AES256 GCM    SHA384
2, TLS13              AES128 GCM    SHA256
3, TLS13              CHACHA20 POLY1305    SHA256
4, TLS12    ECDHE    ECDSA    AES256 GCM    SHA384
5, TLS12    ECDHE    ECDSA    AES128 GCM    SHA256
6, TLS12    ECDHE    ECDSA    CHACHA20 POLY1305    SHA256

7+ all others RSA etc.

do i need to define the cipher rule as I want ?

AES256-GCM-SHA384:AES128-GCM-SHA256:CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256

try these:

https://community.f5.com/t5/technical-forum/enabling-quot-honor-cipher-order-quot-on-f5-ltm-v12-x/td-p/250677

http://smanthey.net/downloads/ssl/ssl-cipher-cs-a4-02.pdf

Really appreciate your help. it’s working as I want. Thanks lot.