Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enforce Server Cipher proposal in preferred order

yadgayan
Nimbostratus
Nimbostratus

 

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? 

1 ACCEPTED SOLUTION
5 REPLIES 5

yadgayan
Nimbostratus
Nimbostratus

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.

yadgayan
Nimbostratus
Nimbostratus

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

yadgayan
Nimbostratus
Nimbostratus

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