Questions tagged [openssl]

Open source implementation of the Secure Socket Layer (SSL) and Transport Layer Security (TLS) protocols

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

openssl genrsa generate key with a passphrase

when I'm using similar approach what is specified here Generate private key encrypted with password using openssl I'm having issue - I can decrypt without providing a passphase/password. Why is this? ...
-2
votes
0answers
39 views

How can I change the root password?

I use this command openssl passwd (then add my new password) to change the root password and took the new one then add it in /etc/passwd between the two :: in the root line I didn't do anything else ...
0
votes
0answers
67 views

How to configure curl (openssl) in order to make it work with custom engine and TLSv1.0

I've successfully added a custom engine to my OpenSSL configuration like this: openssl_conf = openssl_def # at the beginning of the config file [openssl_def] # at the end engines = engine_section [...
0
votes
0answers
11 views

emacs 26.3 gets package-install-from-archive: HTTPS support could not find ‘ssl’ library error

I'm running emacs 26.3 (installed with Ubuntu 20.10). I'm trying to run the package manager. When I select a package to install (realgud), I get the message: package-install-from-archive: HTTPS ...
1
vote
1answer
252 views

Have two different OpenSSL versions installed for rbenv - Ubuntu 20.04

I want to have two different OpenSSL versions in my OS. Right now, openssl version -v returns OpenSSL 1.1.1f 31 Mar 2020 I want to have OpenSSL 1.0.2 as well, for I need to install Ruby 2.2.10 with ...
1
vote
1answer
80 views

openvpn: error while loading shared libraries: libssl.so.1.0.0

I am unable to connect to my organization after I updated to ubuntu20.04 When i try to connect I get openvpn: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No ...
0
votes
0answers
24 views

sslscan report incorrect version of openssl

Running Ubuntu 18.04 LTS server with Apache2 and OpenSSL 1.1.1i installed. sslscan report version 1.1.0g How do remove or force use of version 1.1.1 to get access to TLSv1.3?
0
votes
0answers
14 views

Regarding OpenSSL Upgrade in Ubuntu [duplicate]

I recently heard about some vulnerability in older versions of OpenSSL i.e. before 1.1.1i . I checked my servers and found that most have either 1.1.0l or 1.1.1f . The recommended update version was 1....
0
votes
1answer
617 views

fatal error: 'openssl/bn.h' file not found on Ubuntu 18.04

I did OpenSSL setup referencing How to install OpenSSL 1.1.1 and libSSL package? on windows subsystem Ubuntu 18.04. Writing CPP file in which using OpenSSL files: #include <cstring> #include <...
6
votes
1answer
2k views

openSSL 1.1.1 security bug CVE-2020-1971 [duplicate]

I just read a description of CVE-2020-1971, which indicates that a patch was released today for openSSL, the patched version is 1.1.1i -- my version of Ubuntu 20.04.1 LTS is running openSSL version 1....
0
votes
1answer
191 views

How do I configure a script file to manage services on Ubuntu without using bash?

Using Ubuntu 20.04 (focal) on WSL2 (Windows Subsystem for Linux) as a LAMP-stack/WordPress dev environment. Since the required services do not automatically run when Windows 10 (main/parent OS) boots ...
0
votes
0answers
213 views

SSH connection refused to Ubuntu Virtual Machine

I am using a windows 10 machine(corporate), firewall is turned off. I have installed Ubuntu on my VMWare VM and setup openssh-server. I also did: sudo netstat -tupan to see if my ssh daemon is ...
0
votes
0answers
610 views

libcrypto.so: undefined reference to `fcntl@GLIBC_2.28'

Am performing ARM cross compilation on x86 and i have a tool chain like below : SET(CMAKE_SYSTEM_NAME Linux) include(CMakeForceCompiler) SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc) SET(...
5
votes
1answer
5k views

How to fix Microsoft ODBC Driver 17 for SQL Server : SSL Provider ssl_choose_client_version:unsupported protocol

I have installed Sql Server 2019 Developer Edition and mssql-tools on my Ubuntu 20.04 minimal. I can connect to my localhost with no issue, but when I want to remote to another sql server: sqlcmd -S &...
0
votes
0answers
472 views

Curl fails with self signed certificate chain error

Need your help here. I have an ubuntu server 18.4 (Bionic Beaver). There was a requirement for me to generate a self sign certificate and provide to one of our banking clients which in returns ...
0
votes
0answers
188 views

Python's test_ssl fails starting from Ubuntu 20.04. I need to find a person at Canonical responsible for openssl configuration

Please take a look at https://bugs.python.org/issue41561. Developers who work on Python think that the issue is due to a change in Ubuntu 20.04 that is best described by https://bugs.python.org/...
0
votes
0answers
230 views

Can't connect to encrypted x11vnc

That's how I launch x11vnc: x11vnc -ssl TMP -unixpw myuser -noshm -forever -noipv6 -no6 -rfbportv6 -1 -rfbport 5900 Log of the connection with RealVNC browser app: check_vnc_tls_mode: waited: 1....
0
votes
0answers
49 views

Restoring openssl to Ubuntu out of the box version

Is there a way I can restore openssl and its configuration to the version that came with Ubuntu, I messed up my own version and now whatever i do get errors like: <urlopen error [SSL: ...
1
vote
0answers
1k views

How to disable TLS 1.0 and 1.1 and enable only 1.2 in Apache 2.4.10, OpenSSL 1.0.2k fips, RHEL 7

I tried to enable TLS 1.2 in /conf/extra/httpd-ssl.conf in Apache 2.4.10 as below combinations. SSLProtocol -all +TLSv1.2 After restarting the httpd service, I am getting the error illegal Protocol ...
0
votes
1answer
438 views

curl: /home/user/LD_LIBRARY/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by curl)

i am using ubuntu 18.04 LTS and my kernel version is 4.15.0-96-generic i have installed curl via sudo apt-get install curl when i am using command curl --version it says curl: /home/user/LD_LIBRARY/...
1
vote
1answer
2k views

Ubuntu 20.04 - OpenSSL security level 1 not working

System info: > hostnamectl Operating System: Ubuntu 20.04.1 LTS Kernel: Linux 5.4.0-42-generic Architecture: x86-64 Issue: I access a self hosed nuget repostory behind a VPN ...
-1
votes
1answer
362 views

How to pass password into pkcs12 conversion using openssl module?

script.sh certKey=$(openssl rand -hex 70) openssl pkcs12 -export -out fullchain.p12 --passin pass:$certKey -inkey .../privkey.pem -in .../fullchain.pem~~ I when calling this script the certKey is ...
0
votes
0answers
167 views

Error “Your OpenSSL headers do not match your library.” when installing Psiphon

I'm trying to install psiphon following steps mentioned in README.md. The commands I run in order to install: $ git clone https://github.com/thispc/psiphon.git $ cd psiphon psiphon$ cd openssh-5....
6
votes
2answers
7k views

When I try to CURL a website I get SSL error

I installed Ubuntu 20 on my VPS. This is why I'm trying to do: curl -v https://imenik.tportal.hr/show?action=pretraga&type=bijeleStranice [1] 438975 root@vps:/var/www/html/tportal# * Trying 195....
1
vote
0answers
68 views

SSL handshake keeps failing even after adding certificates to local truststore

When executing wget https://docs.conda.io/projects/conda/en/4.6.0/_downloads/52a95608c49671267e40c689e0bc00ca/conda-cheatsheet.pdf I have this error: --2020-06-03 20:55:06-- https://docs.conda.io/...
1
vote
1answer
1k views

How to restore my certificates at /etc/ssl/certs?

Suddenly my /etc/ssl/cert directory is almost empty and I have no idea how it happened. there were about 400 (symbolic links) left yesterday. Lots of things don't work any more (including apt ...
2
votes
0answers
74 views

SSH not pointing to latest openssl [Ubuntu 16.04.6 LTS -Xenial Xerus]

I have updated the openssl but still the ssh is not pointing to this version of openssl. How I can make ssl and openvpn to point to this version of openssl? I tried to google but didnot find ...
14
votes
2answers
7k views

Enable TLS 1.0 and TLS 1.1 on Ubuntu 20.04

I have recently reinstalled my server to Ubuntu 20.04. A support call came in and after a few days, I managed to notice that TLS v1.0 and v1.1 were not being provided by my web server, nginx. The ...
1
vote
0answers
484 views

After updating WSL 18.04 LTS' openssl to 1.1.1g, the /usr/local/ssl/bin path is not being appended to user account's $PATH

Sorry for the long post, but these are the steps I followed and replicated the problem on 1 other WSL 18.04 installation, Windows Version 1903. Environment: Host: Windows 10 Version 1909 WSL: ...
0
votes
1answer
735 views

pip install pyopenssl object has no attribute 'SSL_ST_INIT'

I've searched this forum for the same issues and none of the fixes worked for me. I have a Ubuntu 18.04 and any python 2.7 modules that need OpenSSL I get an attribute error. Pip install command ...
0
votes
3answers
1k views

Cannot upgrade ubuntu: Failed to connect (when inet is fine)

I'm trying to upgrade from 19.10 to 20.04, following https://wiki.ubuntu.com/FocalFossa/ReleaseNotes. I have run sudo apt-get update and sudo apt-get upgrade, and have set Notify me of a new Ubuntu ...
36
votes
4answers
45k views

Ubuntu 20.04 - how to set lower SSL security level?

I'd like to ask if there's a way to lower SSL security level to 1 on Ubuntu 20.04, since I'm receiving: 141A318A:SSL routines:tls_process_ske_dhe:dh key too small when trying to curl the website. ...
3
votes
1answer
130 views

How do new package versions find their way to the LTS distribution? (Current example: OpenSSL)

I'm running several Ubuntu 18.04 machines all of which need OpenSSL. Recently, OpenSSL reported a security problem: https://www.openssl.org/news/secadv/20200421.txt (CVE-2020-1967). I did install ...
0
votes
1answer
233 views

OpenSSL - dependency problem

I have downloaded the latest version of openvpn-as and when I am trying to install it, it shows dependency problem $ sudo dpkg -i openvpn-as-latest-ubuntu18.amd_64.deb Selecting previously unselected ...
0
votes
1answer
685 views

automatically entering passphrase in openssl command

I'm writing a script that automatically enters the user's input for an openssl command, but I can't find a way of entering the required passphrase automatically by the script. What I've tried: spawn ...
1
vote
1answer
896 views

libcrypto.so.1.0.0: no version information available (required by /usr/sbin/nginx)

My server keeps running but suddenly jumps into error as /usr/local/openssl/lib/libcrypto.so.1.0.0: no version information available (required by /usr/sbin/nginx)
0
votes
1answer
2k views

Attempting to Decrypt an AES-256-CBC Encrypted File but Decryption Password isn't known

I am trying to decrypt a password protected file that was encrypted using AES-256-CBC, but the password to decrypt the file has been forgotten. In this simulation, I do know the password is a ...
2
votes
0answers
509 views

different versions of openssl installed on Ubuntu 18.04?

On my Ubuntu 18.04 machine, the command openssl version gives the Output OpenSSL 1.1.1 11 Sep 2018 but the following path /usr/lib/x86_64-linux-gnu/openssl-1.0.0 suggests I have an older version ...
0
votes
2answers
1k views

Can’t get TLSv1.3 to work with nginx 1.14.0 and OpenSSL 1.1.1 on Ubuntu 18.04.4

I’m going nuts here to trying to figure out how to enable TLSv1.3 on my nginx server. Based on my research, my setup should support it: # lsb_release -a No LSB modules are available. Distributor ID: ...
0
votes
0answers
1k views

WSL: OpenSSL SSL_connect: SSL_ERROR_SYSCAL

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k Cloning into '/home/po/.oh-my-zsh/custom/themes/powerlevel9k'... fatal: unable to access 'https://...
5
votes
2answers
8k views

Installing latest cmake on Ubuntu 18.04.3 LTS run via WSL: OpenSSL error

Using CLion on Windows (a C++ IDE), I'd like to install the latest version of cmake on Ubuntu 18.04.3 LTS run via WSL (the current version of CLion requires cmake > 3.15, while I have only version 3....
7
votes
6answers
10k views

Setting up barrier to run on startup

Barrier is a free popular KVM software that enables mouse/keyboard sharing across several devices. I've been fiddling with it for a few hours and I can't seem to get it right. I have a barrier ...
1
vote
1answer
3k views

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443

I've been trying to install minikube on my Ubuntu machine as per this post. But whenever I try to run... curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-...
5
votes
2answers
3k views

Why MySQL Workbench 8.x errors out with an SSL connection error, choose client version unsupported protocol

I have a local developer environment running MySQL server 5.7.27. I used MySQL Workbench 6.3.10 (this is the latest version AFAIK before 8.0 appeared) without any problem. However when I upgrade to ...
0
votes
0answers
614 views

Cross compile C++ application for ARM64 with openSSL libraries

I made an application in C++ for x86_64 and it works fine on Ubuntu. Now I want to run the same application on arm64 board running Ubuntu. For this I downloaded a cross-compilation tool chain from ...
0
votes
0answers
1k views

Can someone explain why I get this error while trying to run a web page record-replay tool (mahimahi) in ubuntu?

I could resolve the can't load ./.rnd into RNG issue, by removing the RANDFILE field in all openssl.cnf files. But why does the 'Expecting ANY PRIVATE KEY' issue occur? Looks like a simple ...
0
votes
1answer
98 views

openssl and openssh-server on the same system

I have installed both openssl and openssh on my ubuntu bionic machine. OpenSSH by design seems to use a (slightly) older version of the openssl library whereas OpenSSL (the package) uses a different ...
1
vote
1answer
960 views

Cannot retrieve directory listing from vsftpd after enabling TLS

I set up vsftpd on an Ubuntu 16.04 server. I added a user, and gave him FTP access via a userlist and chrooted him to his home directory. It worked fine. To make the file transfer more secure I wanted ...
0
votes
0answers
920 views

Adding supported ciphers to ubuntu

I am trying to add two additional ciphers to a server ubuntu installation... How should I go about adding the additional ciphers? Background: I am trying to add some old cipher support (for testing ...
1
vote
1answer
9k views

Generate private key encrypted with password using openssl

I'm using openssl to sign files, it works but I would like the private key file is encrypted with a password. These are the commands I'm using, I would like to know the equivalent commands using a ...

1
2 3 4 5
7