Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.04 Jammy fatal error on dependency libssl1.1 (no package matching) #86

Closed
compumatter opened this issue Aug 8, 2022 · 6 comments
Closed
Assignees
Labels
pending_upstream Upstream burp support is required to fix this issue

Comments

@compumatter
Copy link

compumatter commented Aug 8, 2022

Just upgraded to 22.04 server.

Running the burp2_server role throws this message:

FAILED! => {"changed": false, "msg": "No package matching 'libssl1.1' is available"}

I'm not sure of it's purpose. Is it required by burp2_server and if so....

Not sure if it's related but further into the install it hangs up here:

TASK [burp2_server : wait for burpca to get all server certificates] *********

With this in the syslog file:
ug 8 15:59:09 servermatter systemd[1]: Stopped Burp Backup service.
Aug 8 15:59:09 servermatter systemd[1]: Started Burp Backup service.
Aug 8 15:59:09 servermatter burp[1333709]: 2022-08-08 15:59:09 -0700: burp[1333709] Creating /etc/burp/CA/CA_burpCA.crl
Aug 8 15:59:09 servermatter burp[1333709]: 2022-08-08 15:59:09 -0700: burp[1333709] Running '/usr/local/sbin/burp_ca --name burpCA --config /etc/burp/CA.cnf --dir /etc/burp/CA --crl'
Aug 8 15:59:09 servermatter burp[1333709]: 2022-08-08 15:59:09 -0700: burp[1333709] /usr/local/sbin/burp_ca returned: 1
Aug 8 15:59:09 servermatter burp[1333709]: 2022-08-08 15:59:09 -0700: burp[1333709] Error running /usr/local/sbin/burp_ca
Aug 8 15:59:09 servermatter burp[1333709]: 2022-08-08 15:59:09 -0700: burp[1333709] CA setup failed
Aug 8 15:59:09 servermatter systemd[1]: burp-server.service: Main process exited, code=exited, status=1/FAILURE
Aug 8 15:59:09 servermatter systemd[1]: burp-server.service: Failed with result 'exit-code'.

And finally back in Ansible:

failed: [compumatter.biz] (item=/etc/burp/ssl_cert_ca-server.pem) => {"ansible_loop_var": "item", "changed": false, "elapsed": 300, "item": "/etc/burp/ssl_cert_ca-server.pem", "msg": "Timeout when waiting for file /etc/burp/ssl_cert_ca-server.pem"}

Thanks.

@compumatter
Copy link
Author

I am also seeing a lof of supervisor "skipping" ie;
TASK [burp2_server : supervisor deprecated | update cache] *******************************************************************************************************************************************************************
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | Install supervisor]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | configure supervisor logrotate]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | configure supervisor logrotate]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | Ensure "/etc/supervisor/conf.d" dir exists]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | configure supervisor service for burp-server]
skipping: [compumatter.biz] => (item={'src': 'burp-server.conf_supervisor.j2', 'dest': '/etc/supervisor/conf.d/burp-server.conf'})

TASK [burp2_server : supervisor deprecated | ensure supervisor is started]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | ensure supervisor is restarted]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | pause 10 seconds when supervisor started]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | start burp server]
skipping: [compumatter.biz]

TASK [burp2_server : supervisor deprecated | wait for burp_server port]
skipping: [compumatter.biz]

In case this is relevant in the hanging up on
TASK [burp2_server : wait for burpca to get all server certificates]

Thanks.

@pablodav
Copy link
Contributor

thanks you for reporting this, I will check and fix during the weekend

@pablodav pablodav self-assigned this Aug 11, 2022
@pablodav pablodav added the bug label Aug 11, 2022
@pablodav
Copy link
Contributor

pablodav commented Aug 14, 2022

Hi @compumatter

I checked this issue, prepared the changes in new branch feature/86_support_ubuntu2204

But I'm not able to merge the changes, let me explain:

Ubuntu 22.04 doesn't has libssl1.1 in its repositories, it provides officially openssl 3 only.
So, change for supporting ubuntu 22.04 is easy, I only have to change the variables for the new distro, but:

Openssl 3 is not support yet by burp: grke/burp#904

So, even if I change the variables it will not work.

Possible workaround for you:

As explained here, you can install dependencies for openssl and download the packages:
https://askubuntu.com/questions/1403837/how-do-i-use-openssl-1-1-1-in-ubuntu-22-04

I recommend to prepare a separate "ansible playbook/role" as "workaround openssl 1.1 for ubuntu 22.04" until burp supports openssl 3.

For better automation, maybe you can consider adding the sources for apt-get of this ppa: https://launchpad.net/~mgrocock/+archive/ubuntu/openssl
and then it should work for Ubuntu 22.04 role as is.

I will keep this issue open until burp supports openssl 3.

@pablodav pablodav added pending_upstream Upstream burp support is required to fix this issue and removed bug labels Aug 14, 2022
@compumatter
Copy link
Author

Thank you. I will keep an ear to the ground on this and look forward to Graham incorporating openssl3 and the subsequent Ansible role adjustment.

@pablodav
Copy link
Contributor

pablodav commented Sep 4, 2022

Local test passed, now running github action tests.

@pablodav
Copy link
Contributor

pablodav commented Sep 4, 2022

thanks you very much @compumatter for your donation, it is really appreciated :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending_upstream Upstream burp support is required to fix this issue
Projects
None yet
Development

No branches or pull requests

2 participants