diff --git a/rpm/tarantool-picodata.spec b/rpm/tarantool-picodata.spec
index debfa6b68f1118df31352e61d220e270bc218c0f..6739081af62a718349556be846819653203b457a 100644
--- a/rpm/tarantool-picodata.spec
+++ b/rpm/tarantool-picodata.spec
@@ -253,6 +253,9 @@ C and Lua/C modules.
 %endif
 %if 0%{?rhel} >= 7
          -DENABLE_BUNDLED_LDAP:BOOL=OFF \
+%endif
+%if 0%{?rhel} == 7
+         -DENABLE_BUNDLED_OPENSSL:BOOL=ON \
 %endif
          -DENABLE_WERROR:BOOL=ON \
          -DENABLE_DIST:BOOL=ON