SMIME Internal Server Error on Certificate Verify

  • Kopano

    Could you share information about your setup?
    OS, php version, WebApp version etc

  • @marty

    Kopano Core:

    And the latest version of the S/MIME plugin downloaded from the community site yesterday.

    root@mrc-ubz64:~# php --version                                                                                                                                     
    PHP 7.0.33-0+deb9u3 (cli) (built: Mar  8 2019 10:01:24) ( NTS )                                                                                                     
    Copyright (c) 1997-2017 The PHP Group                                                                                                                               
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies                                                                                                       
        with Zend OPcache v7.0.33-0+deb9u3, Copyright (c) 1999-2017, by Zend Technologies               

  • @yep_DD
    I am having exactly the same problem

  • Note that I am able to view the email from my mobile phone and also if I forward it.

  • @marty

    I was wondering if you need any further information or log files for this.

  • Kopano

    By the look at the error it seems you’re missing php-bcmath (or it’s not active)

  • @marty

    Marty that fixed my problem! Thanks a lot!!

    Question: should that package be in some dependencies? For example of the S/MIME plugin?

    Otherwise how do people know that they have to install it?

  • Kopano

    @mcostan This should be the case already:

    Ubuntu 16.04 example:

    apt-cache depends kopano-webapp-plugin-smime
      Depends: kopano-webapp
      Depends: php-kopano-smime
     |Depends: <php5-curl>
      Depends: php-curl
      Depends: php-xml
      Depends: php-bcmath
      Conflicts: <kopano-webapp-smime>
      Replaces: <kopano-webapp-smime>

    Did you upgrade your OS and php-version recently? I can imagine some issues there, but that’s something for the admin to double check imo.

  • I updated PHP a few months back and then installed the latest SMIME plugin.

    Perhaps it found the old PHP dependency which was installed with the old version of PHP and it thought it was ok…

  • Problem fixed, thanks a lot!

Log in to reply