• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

Kann openssl nicht nutzen

Spinx

New Member
Hallo,

openssl ist installiert, kann es aber nicht nutzen. System ist Debian 7, OpenVZ Container

root@dev:/etc/postfix/sslcert# openssl req -new -newkey rsa:3072 -nodes -keyout mailserver.key -days 730 -x509 -out mailserver.crt
-bash: openssl: command not found

root@dev:~# dpkg -l | grep openssl
ii libcurl4-openssl-dev 7.26.0-1+wheezy7 amd64 development files and documentation for libcurl (OpenSSL flavour)
ii libgnutls-openssl27:amd64 2.12.20-7 amd64 GNU TLS library - OpenSSL wrapper
ii openssl

root@dev:~# aptitude install openssl
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

var/log/aptitude

[UPGRADE] libssl0.9.8 0.9.8o-4squeeze1 -> 0.9.8o-4squeeze14
Will install 1 packages, and remove 0 packages.
2425 kB of disk space will be used
===============================================================================
[INSTALL] openssl
===============================================================================
[INSTALL, DEPENDENCIES] libssl-dev:amd64
[INSTALL, DEPENDENCIES] libssl-doc:amd64
[INSTALL] libcurl4-openssl-dev:amd64
 
Last edited by a moderator:
Bitteschön.
In keinen Ordner steht irgendwas von openssl, soll aber installiert sein.
root@dev:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

root@dev:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb-src http://ftp.us.debian.org/debian stable main contrib non-free

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free


root@dev:~# ls -al /usr/bin/open*
ls: cannot access /usr/bin/open*: No such file or directory
 
Das ist ja wirklich extremst seltsam.

Was sagt denn:

Code:
cat /etc/fstab
mount
apt-cache show openssl
 
Allerdings ist das ganze komisch

root@dev:~# cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM


root@dev:~# mount
/var/lib/vz/private/302 on / type simfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=419432k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=838860k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)


root@dev:~# apt-cache show openssl
Package: openssl
Status: install ok installed
Priority: extra
Section: checkinstall
Installed-Size: 360
Maintainer: root@dev
Architecture: amd64
Version: 20140129-1
Provides: openssl
Conffiles:
/etc/ssl/openssl.cnf 7df26c55291b33344dc15e3935dabaf3 obsolete
Description: Package created with checkinstall 1.6.2

Package: openssl
Version: 1.0.1e-2+deb7u3
Installed-Size: 1081
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Architecture: amd64
Depends: libc6 (>= 2.7), libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4)
Suggests: ca-certificates
Description-en: Secure Socket Layer (SSL) binary and related cryptographic tools
This package contains the openssl binary and related tools.
.
It is part of the OpenSSL implementation of SSL.
.
You need it to perform certain cryptographic actions like:
- Creation of RSA, DH and DSA key parameters;
- Creation of X.509 certificates, CSRs and CRLs;
- Calculation of message digests;
- Encryption and decryption with ciphers;
- SSL/TLS client and server tests;
- Handling of S/MIME signed or encrypted mail.
Description-md5: 977022bc5545601176b69704acc5df9b
Section: utils
Priority: optional
Filename: pool/updates/main/o/openssl/openssl_1.0.1e-2+deb7u3_amd64.deb
Size: 699500
MD5sum: 8ce88ac6d3570a11db0f8413625898cc
SHA1: f9decfd7aeb67a766fb1b95d5cc8cc866b30a488
SHA256: c29a715dce3b31d1057b7696243dd0a50a2da236a9347702278ea959fe2c72bf

Package: openssl
Version: 1.0.1e-2
Installed-Size: 1080
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Architecture: amd64
Depends: libc6 (>= 2.7), libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4)
Suggests: ca-certificates
Description-en: Secure Socket Layer (SSL) binary and related cryptographic tools
This package contains the openssl binary and related tools.
.
It is part of the OpenSSL implementation of SSL.
.
You need it to perform certain cryptographic actions like:
- Creation of RSA, DH and DSA key parameters;
- Creation of X.509 certificates, CSRs and CRLs;
- Calculation of message digests;
- Encryption and decryption with ciphers;
- SSL/TLS client and server tests;
- Handling of S/MIME signed or encrypted mail.
Description-md5: 977022bc5545601176b69704acc5df9b
Tag: implemented-in::c, interface::commandline, protocol::ssl, role::program,
scope::utility, security::cryptography, security::integrity,
use::checking
Section: utils
Priority: optional
Filename: pool/main/o/openssl/openssl_1.0.1e-2_amd64.deb
Size: 699076
MD5sum: 02e83e4a9c6284db8f5eee963ccf8a6b
SHA1: c3e6d0bdf6164e3e518c9af7e6ff08561773b5f9
SHA256: 13628ca20e97451494ac1132c0ba7ec6f3f9b56071b38df429eaaa5f37afe2c1



root@dev:~# apt-get --purge remove openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
globus-common-progs libaprutil1-dev libencode-locale-perl libfile-listing-perl libfont-afm-perl libglobus-common0 libhtml-form-perl libhtml-format-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libio-socket-ip-perl libio-socket-ssl-perl liblwp-mediatypes-perl libmailtools-perl libmysqlclient-dev libnet-http-perl libnet-ssleay-perl libpq-dev libsocket-perl
libsqlite3-dev liburi-perl libwww-robotrules-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2-prefork-dev* ca-certificates* dovecot-common* dovecot-core* dovecot-gssapi* dovecot-imapd* dovecot-ldap* dovecot-mysql* dovecot-pgsql* dovecot-pop3d*
dovecot-sieve* dovecot-sqlite* globus-core* libglobus-common-dev* libglobus-common-doc* liblwp-protocol-https-perl* libwww-perl* libxml-parser-perl* openssl*
postfix* postfix-mysql* ssl-cert*
0 upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
After this operation, 17.6 MB disk space will be freed.
 
Last edited by a moderator:
Dein apt-cache ist unsauber. Du hast drei openssl-Pakete und es scheint, dass du nicht das Debian-Paket installierst. Sieh dir mal genau die Einträge in /etc/apt/sources.list.d/ an. Anschließend versuch bitte Folgendes:
Code:
apt-get purge openssl
apt-get update
apt-get dist-upgrade
apt-get install openssl
 
Dein apt-cache ist unsauber. Du hast drei openssl-Pakete und es scheint, dass du nicht das Debian-Paket installierst. Sieh dir mal genau die Einträge in /etc/apt/sources.list.d/ an.

Dies ist ein leerer Ordner? Kein Inhalt.


root@dev:~# apt-get purge openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
globus-common-progs libaprutil1-dev libencode-locale-perl libfile-listing-perl libfont-afm-perl libglobus-common0 libhtml-form-perl libhtml-format-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libio-socket-ip-perl libio-socket-ssl-perl liblwp-mediatypes-perl libmailtools-perl libmysqlclient-dev libnet-http-perl libnet-ssleay-perl libpq-dev libsocket-perl
libsqlite3-dev liburi-perl libwww-robotrules-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2-prefork-dev* ca-certificates* dovecot-common* dovecot-core* dovecot-gssapi* dovecot-imapd* dovecot-ldap* dovecot-mysql* dovecot-pgsql* dovecot-pop3d*
dovecot-sieve* dovecot-sqlite* globus-core* libglobus-common-dev* libglobus-common-doc* liblwp-protocol-https-perl* libwww-perl* libxml-parser-perl* openssl*
postfix* postfix-mysql* ssl-cert*
0 upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
After this operation, 17.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
root@dev:~#
 
Back
Top