# Client Side SSL Encryption while response from F5

**URL:** <https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867>\
**Category:** Technical Forums\
**Tags:** big-ip, application-delivery, ltm\
**Created:** [December 22, 2020, 12:58pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867 "2020-12-22T12:58:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allwin](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Allwin](https://community.f5.com/u/Allwin)\
**Post date:** [December 22, 2020, 12:58pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/1 "2020-12-22T12:58:50Z")

</div>

Hi,

I have a query, wherein, i have a application hosted behind my F5. I have configured client SSL profile so as to offload the certificate and send the traffic unencrypted to the backend server.

Now the server responds in unencrypted http, but will the client also receive the response traffic unencrypted or encrypted.

As i’m seeing unencrypted response back to the client. So is it correct? or something needs to be rectified on the F5 side?

---

<div class="post-metadata">

**Author:** ![Mayur\_Sutare](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/mayur_sutare/32/5035_2.png) [@Mayur\_Sutare](https://community.f5.com/u/Mayur_Sutare)\
**Post date:** [December 22, 2020, 1:36pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/2 "2020-12-22T13:36:59Z")

</div>

,

As you are using **Client-SSL** profile on the Virtual Server but no **Server-SSL** profile, it means the session between Client and F5 is always encrypted whereas session between F5 and backend server is plain text/unencrypted. So in any case, to & fro traffic between client and F5 will be encrypted.

---

<div class="post-metadata">

**Author:** ![Allwin](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Allwin](https://community.f5.com/u/Allwin)\
**Post date:** [December 22, 2020, 1:56pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/3 "2020-12-22T13:56:23Z")

</div>

Hi Mayur

but the client is receiving response in http instead of https.

is this the way that it should be working or is there anything missing on the F5 config?

---

<div class="post-metadata">

**Author:** ![Mayur\_Sutare](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/mayur_sutare/32/5035_2.png) [@Mayur\_Sutare](https://community.f5.com/u/Mayur_Sutare)\
**Post date:** [December 22, 2020, 2:15pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/4 "2020-12-22T14:15:39Z")

</div>

Hi,

I think, application is redirecting it to http again. Can you please confirm below points ?

1. Do you have F5 VS running on port 80 with same IP which is used for https VS?
2. And you have mapped same pool/irule to above VS.

If above points are true in your case, you should remove pool/irule from port 80 VS and add F5 provided **http-to-https** iRule to it. So F5 will again redirect that request to https.

---

<div class="post-metadata">

**Author:** ![Allwin](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Allwin](https://community.f5.com/u/Allwin)\
**Post date:** [December 22, 2020, 2:21pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/5 "2020-12-22T14:21:43Z")

</div>

Hi Mayur,

Yes, to both of your questions.

So removing the pool from VS\_80 and adding the iRule to the VS\_443 will ensure that the traffic is received as HTTPS only by the client correct?

---

<div class="post-metadata">

**Author:** ![Mayur\_Sutare](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/mayur_sutare/32/5035_2.png) [@Mayur\_Sutare](https://community.f5.com/u/Mayur_Sutare)\
**Post date:** [December 22, 2020, 2:42pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/6 "2020-12-22T14:42:58Z")

</div>

Yes, client will receive it as **HTTPS**. Although request will go to **http** first as application is redirecting it but it will get automatically redirected to **HTTPS** by F5 iRule. So F5 **HTTP** VS will be used only for redirection purpose and all data traffic will be handle by **HTTPS** VS.

This configuration will also redirect client request to HTTPS if someone tries to access it using HTTP.

---

<div class="post-metadata">

**Author:** ![Allwin](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Allwin](https://community.f5.com/u/Allwin)\
**Post date:** [December 22, 2020, 4:53pm UTC](https://community.f5.com/t/client-side-ssl-encryption-while-response-from-f5/50867/7 "2020-12-22T16:53:48Z")

</div>

Thanks Mayur
