EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08983


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[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 file and paste the below code 

$c->{host} = 'xyz.edu.in';
$c->{port} = 80;
$c->{aliases} = [];
$c->{securehost} = 'xyz.edu.in';
$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