Security audit flags expired certificate - installed by install script? #3799

Closed
opened 2026-02-05 07:30:31 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @RZR7332 on GitHub (May 11, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

While scanning my system with Lynis, it flags a certificate as expired - specifically, /var/www/bookstack/vendor/league/oauth1-client/tests/test_rsa_publickey.pem. I am assuming this is installed as part of the installation script - what is it used for, and is it safe to remove?

I realise this is not a major issue, but for compliance reasons expired certificates should be removed, or at least be replaced by valid certificates.

Exact BookStack Version

23.05.1

Log Content

2023-05-11 12:52:28 Result: certificate /var/www/bookstack/vendor/league/oauth1-client/tests/test_rsa_publickey.pem has been expired

PHP Version

PHP 8.1.2-1ubuntu2.11

Hosting Environment

Ubuntu Server 22.04 LTS, virtual machine, official install script.

Originally created by @RZR7332 on GitHub (May 11, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario While scanning my system with Lynis, it flags a certificate as expired - specifically, /var/www/bookstack/vendor/league/oauth1-client/tests/test_rsa_publickey.pem. I am assuming this is installed as part of the installation script - what is it used for, and is it safe to remove? I realise this is not a major issue, but for compliance reasons expired certificates should be removed, or at least be replaced by valid certificates. ### Exact BookStack Version 23.05.1 ### Log Content 2023-05-11 12:52:28 Result: certificate /var/www/bookstack/vendor/league/oauth1-client/tests/test_rsa_publickey.pem has been expired ### PHP Version PHP 8.1.2-1ubuntu2.11 ### Hosting Environment Ubuntu Server 22.04 LTS, virtual machine, official install script.
OVERLORD added the 🐕 Support label 2026-02-05 07:30:31 +03:00
Author
Owner

@ssddanbrown commented on GitHub (May 11, 2023):

@RZR7332 That file is within the testing data of a sub-dependency. It's not something that would actually be used during runtime.

@ssddanbrown commented on GitHub (May 11, 2023): @RZR7332 That file is within the testing data of a sub-dependency. It's not something that would actually be used during runtime.
Author
Owner

@RZR7332 commented on GitHub (May 11, 2023):

Thanks Dan. Is it safe to remove or is it required for functionality?

@RZR7332 commented on GitHub (May 11, 2023): Thanks Dan. Is it safe to remove or is it required for functionality?
Author
Owner

@ssddanbrown commented on GitHub (May 11, 2023):

@RZR7332 I'm sure it's safe to remove. Will likely re-appear every time you update though.

@ssddanbrown commented on GitHub (May 11, 2023): @RZR7332 I'm sure it's safe to remove. Will likely re-appear every time you update though.
Author
Owner

@RZR7332 commented on GitHub (May 11, 2023):

Thanks @ssddanbrown - good enough for me. Appreciate the quick response and support, much appreciated.

@RZR7332 commented on GitHub (May 11, 2023): Thanks @ssddanbrown - good enough for me. Appreciate the quick response and support, much appreciated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3799