[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Error while enabling SSL



CAUTION: This e-mail originated outside the University of Southampton.
Dear,

Can you help me to enable the SSL certificate?

I am Using Eprints latest stable version. I am trying to enable SSL certificate EPrints 3.4 version but failed.

I have purchased an SSL certificate having these abc.key, xyz.crt, qwe.pem, and bundle_asd.crt  files and I placed them in /etc/apache2/ssl/ folder.
I follows the following step :

1. I edit the 10_core.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F10_core.pl%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2df2bb1f4cce47e96d4208da534f0641%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637913896242209861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=pbOKjLKpv6dcM4iqn5WoNO%2F7RC1QzoLTIw6E%2F8xtitM%3D&amp;reserved=0> file and paste the below code

$c->{host} = 'xyz.edu.in<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fxyz.edu.in%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2df2bb1f4cce47e96d4208da534f0641%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637913896242209861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7xyY6BxlM%2B3bFINzzGgGh9ifCriqP%2F28ZFr06kAegcU%3D&amp;reserved=0>';
$c->{port} = 80;
$c->{aliases} = [];
$c->{securehost} = 'xyz.edu.in<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fxyz.edu.in%2F&amp;data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2df2bb1f4cce47e96d4208da534f0641%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637913896242209861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=7xyY6BxlM%2B3bFINzzGgGh9ifCriqP%2F28ZFr06kAegcU%3D&amp;reserved=0>';
$c->{secureport} = 443;
$c->{http_root} = undef;

2. then I run this command /usr/share/eprints/bin/generate_apacheconf with eprints user.

3. Then I edit the file eprints-ssl.conf file and paste the below code there
<VirtualHost 12.123.234.256:443>
  SSLEngine on
  SSLCertificateFile /etc/apache2/ssl/12345.crt
  SSLCertificateFile /etc/apache2/ssl/45677.pem

  Include /usr/share/eprints/cfg/apache_ssl/xyz.conf

  PerlTransHandler +EPrints::Apache::Rewrite
</VirtualHost>

4. then i run this command a2ensite eprints-ssl

When I open the site in the browser, it is showing an error and I also follow how to do video.

Thanks,
Sonu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220621/34f42229/attachment.html