diff --git a/SPECS/postgresql.spec b/SPECS/postgresql.spec
index fca020c..2ad83f3 100644
--- a/SPECS/postgresql.spec
+++ b/SPECS/postgresql.spec
@@ -60,7 +60,7 @@ Summary: PostgreSQL client programs
 Name: postgresql
 %global majorversion 13
 Version: %{majorversion}.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # The PostgreSQL license is very similar to other MIT licenses, but the OSI
 # recognizes it as an independent license, so we do as well.
@@ -625,6 +625,9 @@ upgrade_configure ()
 %if %pltcl
 		--with-tcl \
 %endif
+%if %ssl
+	    --with-openssl \
+%endif
 		--with-tclconfig=%_libdir \
 		--with-system-tzdata=/usr/share/zoneinfo \
 		"$@"
@@ -1222,6 +1225,10 @@ make -C postgresql-setup-%{setup_version} check
 
 
 %changelog
+* Wed Jul 14 2021 Filip Januš <fjanus@redhat.com> - 13.3-2
+- Enable ssl for upgrade server
+  Resolves: #1982697
+
 * Mon May 31 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
 - Update to 13.3
   Resolves: #1966339