# 2 SSL certificates on a VS

**URL:** <https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174>\
**Category:** Technical Forums\
**Tags:** application-delivery, sni\
**Created:** [February 2, 2022, 2:25pm UTC](https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174 "2022-02-02T14:25:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![D99](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@D99](https://community.f5.com/u/D99)\
**Post date:** [February 2, 2022, 2:25pm UTC](https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174/1 "2022-02-02T14:25:12Z")

</div>

Hi Experts,

I have recieved a requirement to configure 2 certificates on a single VS so whicheve URL is requested it issues the related cerificate.

For example I have

[www.abc.com &](http://www.abc.ae)

[www.abc.in](http://www.abc.in)

and I have 2 certificates \*.abc.com and [www.abc.in](http://www.abc.in)

Can this be achieved, if yes how.

---

<div class="post-metadata">

**Author:** ![Enes\_Afsin\_Al](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/enes_afsin_al/32/15359_2.png) [@Enes\_Afsin\_Al](https://community.f5.com/u/Enes_Afsin_Al)\
**Post date:** [February 2, 2022, 2:51pm UTC](https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174/2 "2022-02-02T14:51:26Z")

</div>

Hi Danish,

_System \> Certificate Management \> Traffic Certificate Management_  
Import the SSL certificates.

_Local Traffic \> Profiles \> SSL \> Client_  
Create a separate client-ssl profile for each SSL certificate.  
Check the “Default SSL Profile for SNI” option in one of the client-ssl profiles.

Add two client-ssl profiles to the virtual server.

**Default SSL Profile for SNI:**  
Indicates that the system uses this profile as the default SSL profile when there is no match to the server name, or when the client provides no SNI extension support. There can be only one SSL profile with this setting enabled.

---

<div class="post-metadata">

**Author:** ![DevBabu](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@DevBabu](https://community.f5.com/u/DevBabu)\
**Post date:** [February 2, 2022, 10:07pm UTC](https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174/3 "2022-02-02T22:07:39Z")

</div>

The other alternative would be to create a single certificate with multiple SAN names and attach the key and cert to the SSL profile.

Certificate CN: \*.abc.com

DNS: [www.abc.in,](http://www.abc.in,)&nbsp;DNS: \*.abc.com

---

<div class="post-metadata">

**Author:** ![KenKAM1992](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@KenKAM1992](https://community.f5.com/u/KenKAM1992)\
**Post date:** [February 4, 2022, 11:59am UTC](https://community.f5.com/t/2-ssl-certificates-on-a-vs/69174/4 "2022-02-04T11:59:21Z")

</div>

What about if the e-certificates are of different domain. Can we set up two separate virtual server, each virtual server is linked to a URL. In the Virtual Server, each is associated with a SSL profile that is associated with a certificate of the corresponding URL.

Thanks for your advice
