If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:openssl genrsa (lincmd)
BoxMatrix >> Shell-Commands >> openssl_genrsa (lincmd) | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Name-Collision - multiple objects in this wiki use the name openssl_genrsa!
|
Linux-Command
Command: | openssl_genrsa (lincmd) - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Linux-Commands - Origin: OpenSSL | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 34.9k - 65.8k - Firmware: 4.61 - 7.57 | ||||||
Function: | Generates an RSA private key (openssl pckg). |
Goto: Examples - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
openssl_genrsa generates an RSA private key. It comes from the OpenSSL package, where it's called openssl-genrsa
,
which is an alias to openssl genrsa
. AVM stripped it down to a standalone command.
This command is/was used to create the private keys for HTTPS and FTPS, see the Examples.
In recent FRITZ!OS it is not used any more. In fw 7.70 AVM introduced the replacement genrsa.
To create certificates from these private keys openssl_req is / was used.
See also the genrsa(1) man page.
fw 7.29 help:
root@fritz2:/var/mod/root# openssl_genrsa --help usage: genrsa [args] [numbits] -des encrypt the generated key with DES in cbc mode -des3 encrypt the generated key with DES in ede cbc mode (168 bit key) -seed encrypt PEM output with cbc seed -aes128, -aes192, -aes256 encrypt PEM output with cbc aes -out file output the key to 'file -passout arg output file pass phrase source -f4 use F4 (0x10001) for the E value -3 use 3 for the E value -rand file:file:... load the file (or the files in the directory) into the random number generator
Examples
Early FRITZ!OS in libboxlib.so:
openssl_genrsa -aes128 -passout 'pass:%s' 1024 > websrv_ssl_key.pem
openssl_genrsa -aes128 -passout 'pass:%s' 1024 > ftps_ssl_key.pem
From libcmapi.so fw 7.16 - no separate FTPS key any more:
openssl_genrsa -aes128 -passout 'pass:%s' 2048 > websrv_ssl_key.pem
6490 fw 7.29 example showing the runtime grows exponential with the key size:
root@fritz2:/var/mod/root# time openssl_genrsa 2048 > server-2048.key Generating RSA private key, 2048 bit long modulus e is 65537 (0x10001) real 0m 3.43s user 0m 3.31s sys 0m 0.05s root@fritz2:/var/mod/root# time openssl_genrsa 4096 > server-4096.key Generating RSA private key, 4096 bit long modulus e is 65537 (0x10001) real 0m 32.77s user 0m 29.92s sys 0m 2.51s root@fritz2:/var/mod/root# ls -l server-* -rw-r--r-- 1 root root 1679 Dec 3 02:22 server-2048.key -rw-r--r-- 1 root root 3243 Dec 3 02:24 server-4096.key
GPL-Browser
Daily updated index of all openssl_genrsa code findings on the GPL-Browser. Last update: 2024-12-20 05:01 GMT.
The Browse
column points to the Path
containing the respective source code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Browse | Path | SoC | Arch | Model | Firmw | Diff | Download |
---|---|---|---|---|---|---|---|
davinci-8020-5504 | packages/openssl-0.9.7e/apps | DaVinci | ARM | 8020 | 55.04 | 2.6.19.2 | Download |
1 directory containing openssl_genrsa source code |
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-12-20 07:46 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Runs as | proc | openssl_genrsa (process) | 1* | 6.34 | Process running openssl_genrsa | OpenSSL |
Depends on | lib | ld.so | 37 | 7.08 - 7.18 | Dynamic linker / loader | Linux |
Depends on | lib | libc.so | 92 | 4.61 - 7.57 | Standard C library | Linux |
Depends on | lib | libcrypto.so | 92 | 4.61 - 7.57 | OpenSSL general crypto and X.509 library | Linux |
Depends on | lib | libdl.so | 92 | 4.61 - 7.57 | Dynamic linking library | Linux |
Depends on | lib | libgcc_s.so | 45 | 4.63 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libssl.so | 92 | 4.61 - 7.57 | OpenSSL implementations of SSL and TLS | Linux |
7 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-12-20 05:44 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box WLAN 3270 | 4.68 - 5.54 | /bin | 40.6k - 41.0k |
FRITZ!Box WLAN 3270 v3 | 4.77 - 5.54 | /bin | 40.6k - 41.0k |
FRITZ!Box WLAN 3270 IT | 5.23 - 5.52 | /bin | 40.9k - 41.0k |
FRITZ!Box 3272 (main) | 5.50 - 6.89 | /bin | 35.3k - 46.8k |
FRITZ!Box WLAN 3370 (main) | 5.01 - 6.56 | /bin | 35.3k - 43.6k |
FRITZ!Box 3390 (main) | 5.50 - 6.56 | /bin | 35.3k - 43.6k |
FRITZ!Box 3490 (main) | 6.20 - 7.12 | /bin | 41.3k - 49.0k |
FRITZ!Box 4020 | /bin | 41.3k - 45.6k | |
FRITZ!Box 4040 | 6.52 - 7.14 | /bin | 36.5k - 45.3k |
FRITZ!Box Fon 5113 | 4.82 - 4.83 | /bin | 40.7k |
FRITZ!Box Fon 5124 | 4.67 - 4.77 | /bin | 40.7k |
VoIP Gateway 5188 | 4.61 - 4.81 | /bin | 40.7k |
FRITZ!Box 5490 (main) | 6.51 - 7.12 | /bin | 41.3k - 49.0k |
FRITZ!Box 5491 (main) | 7.01 - 7.12 | /bin | 45.6k - 49.0k |
FRITZ!Box 6320 Cable v1 | 6.03 - 6.04 | /bin | 35.7k |
FRITZ!Box 6320 Cable v2 | 6.21 | /bin | 41.0k |
FRITZ!Box 6340 Cable | 5.24 | /bin | 35.4k |
FRITZ!Box 6360 Cable | 4.85 - 6.51 | /bin | 34.9k - 39.5k |
FRITZ!Box 6430 Cable (arm) | 6.84 - 7.29 | /bin | 39.4k - 49.3k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /bin | 43.0k - 53.2k |
FRITZ!Box 6490 Cable (arm) | 6.20 - 7.51 | /bin | 39.4k - 59.3k |
FRITZ!Box 6490 Cable (atom) | 6.20 - 7.51 | /bin | 43.0k - 64.5k |
FRITZ!Box 6590 Cable (arm) | 6.83 - 7.57 | /bin | 39.4k - 59.3k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /bin | 43.0k - 64.5k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.22 | /bin | 49.5k - 62.8k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 7.22 | /bin | 51.9k - 65.8k |
FRITZ!Box 6660 Cable (arm) | 7.14 - 7.24 | /bin | 46.4k - 62.8k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 7.24 | /bin | 54.3k - 65.8k |
FRITZ!Box 6810 LTE | 6.35 | /bin | 35.3k - 43.5k |
FRITZ!Box 6820 LTE v1 (main) | 6.40 - 7.13 | /bin | 41.9k - 49.0k |
FRITZ!Box 6820 LTE v2 (main) | 6.40 - 7.13 | /bin | 41.9k - 49.0k |
FRITZ!Box 6840 LTE (main) | 5.08 - 6.88 | /bin | 35.3k - 45.7k |
FRITZ!Box 6842 LTE | /bin | 35.3k - 43.5k | |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.13 | /bin | 46.7k - 57.0k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.13 | /bin | 46.7k - 57.0k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.13 | /bin | 46.7k - 57.0k |
FRITZ!Box Fon WLAN 7112 | 4.76 - 4.88 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7113 | 4.82 - 4.86 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7113 INT | 4.82 - 4.86 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7140 | 4.67 - 4.77 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7141 | 4.68 - 4.77 | /bin | 40.7k |
FRITZ!Fon 7150 | 4.71 - 4.72 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7170 | 4.63 - 4.99 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7170 v1 | 4.63 - 4.99 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7170 v2 | 4.63 - 4.99 | /bin | 40.7k |
FRITZ!Box Fon WLAN 7240 | 4.65 - 6.06 | /bin | 40.6k - 43.3k |
FRITZ!Box Fon WLAN 7270 v1 | 4.63 - 4.99 | /bin | 40.6k - 40.7k |
FRITZ!Box Fon WLAN 7270 v2 | 4.67 - 6.06 | /bin | 40.6k - 43.3k |
FRITZ!Box Fon WLAN 7270 v3 | 4.76 - 6.06 | /bin | 40.6k - 43.3k |
FRITZ!Box 7272 (main) | 5.55 - 6.88 | /bin | 37.1k - 46.8k |
FRITZ!Box 7312 | 5.23 - 6.56 | /bin | 35.3k - 43.6k |
FRITZ!Box Fon WLAN 7320 | 4.85 - 6.35 | /bin | 35.3k - 43.6k |
FRITZ!Box 7330 | 5.06 - 6.56 | /bin | 35.3k - 43.6k |
FRITZ!Box 7330 SL | 5.08 - 6.56 | /bin | 35.3k - 43.6k |
FRITZ!Box Fon WLAN 7340 | 4.83 - 5.05 | /bin | 35.3k - 41.9k |
FRITZ!Box Fon WLAN 7360 SL | 5.04 - 6.34 | /bin | 35.3k - 43.6k |
FRITZ!Box Fon WLAN 7360 v1 | 5.06 - 6.36 | /bin | 35.3k - 43.5k |
FRITZ!Box Fon WLAN 7360 v2 | 5.22 - 6.88 | /bin | 35.3k - 45.7k |
FRITZ!Box 7362 SL (main) | 5.53 - 7.18 | /bin | 35.3k - 49.0k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /bin | 41.9k |
FRITZ!Box Fon WLAN 7390 | 4.81 - 5.22 | /bin | 35.2k - 46.8k |
FRITZ!Box 7412 (main) | 6.21 - 6.88 | /bin | 41.3k - 45.7k |
FRITZ!Box 7430 (main) | 6.26 - 7.12 | /bin | 41.3k - 49.0k |
FRITZ!Box 7490 (main) | 5.57 - 7.12 | /bin | 37.1k - 49.0k |
FRITZ!Box 7520 | 6.98 - 7.14 | /bin | 41.2k - 45.3k |
FRITZ!Box 7530 | 6.98 - 7.14 | /bin | 41.1k - 45.3k |
FRITZ!Box 7560 (main) | 6.51 - 7.12 | /bin | 46.7k - 57.0k |
FRITZ!Box Fon WLAN 7570 vDSL | 4.70 - 4.94 | /bin | 40.6k - 40.7k |
FRITZ!Box 7580 (main) | 6.53 - 7.12 | /bin | 46.7k - 57.0k |
FRITZ!Box 7581 | 6.54 - 7.18 | /bin | 38.9k - 49.5k |
FRITZ!Box 7582 | 6.83 - 7.18 | /bin | 38.9k - 49.5k |
FRITZ!Box 7583 (main) | 7.01 - 7.15 | /bin | 53.6k - 57.0k |
FRITZ!Box 7590 (main) | 6.83 - 7.13 | /bin | 46.7k - 57.0k |
FRITZ!WLAN Repeater 300E | 5.09 - 6.34 | /bin | 41.0k - 43.5k |
FRITZ!WLAN Repeater 310 A | 5.24 - 7.16 | /bin | 35.3k - 49.0k |
FRITZ!WLAN Repeater 310 B | 6.30 - 7.16 | /bin | 41.3k - 49.0k |
FRITZ!WLAN Repeater 450E | 6.00 - 7.15 | /bin | 37.1k - 49.0k |
FRITZ!Repeater 600 | 7.11 - 7.12 | /bin | 49.0k |
FRITZ!WLAN Repeater 1160 | 6.51 - 7.15 | /bin | 41.3k - 49.0k |
FRITZ!Repeater 1200 | 7.11 - 7.14 | /bin | 45.3k |
FRITZ!WLAN Repeater 1750E | 6.12 - 7.08 | /bin | 41.8k - 49.0k |
FRITZ!Repeater 2400 | 7.12 | /bin | 49.0k |
FRITZ!Repeater 3000 | 6.98 - 7.14 | /bin | 41.1k - 45.3k |
FRITZ!WLAN Repeater DVB-C | 6.12 - 7.04 | /bin | 41.8k - 45.6k |
FRITZ!Powerline 540E | 5.58 - 7.15 | /bin | 37.1k - 49.0k |
FRITZ!Powerline 546E | 5.50 - 7.15 | /bin | 35.2k - 49.0k |
FRITZ!Powerline 1240E | 6.33 - 7.16 | /bin | 41.3k - 49.0k |
FRITZ!Powerline 1260E | 6.90 - 7.12 | /bin | 36.5k - 45.3k |
Speedport W 503V MK | 4.79 | /bin | 40.6k |
Speedport W 504V MK | 5.04 | /bin | 41.0k |
Alice IAD WLAN 3331 | 4.90 | /bin | 40.7k |
Alice IAD 7570 vDSL | 4.86 - 5.09 | /bin | 40.6k |
92 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-12-20 07:46 GMT.
Firmware | Symbol |
---|---|
4.61 - 7.04 | app_RAND_allow_write_file |
4.61 - 7.18 | app_RAND_load_file |
4.61 - 7.18 | app_RAND_load_files |
4.61 - 7.18 | app_RAND_write_file |
4.61 - 7.18 | app_passwd |
4.61 - 7.18 | destroy_ui_method |
6.87 - 7.18 | fileno_stdin |
6.87 - 7.18 | fileno_stdout |
4.61 - 7.18 | index_name_cmp |
6.87 - 7.18 | load_cert_crl_http |
4.61 - 7.18 | load_config |
6.87 - 7.18 | load_crl |
4.61 - 7.51 | main |
4.61 - 7.18 | parse_yesno |
4.61 - 7.57 | password_callback |
4.61 - 7.18 | rand_serial |
6.87 - 7.18 | release_engine |
5.55 - 7.18 | setup_engine |
4.61 - 7.18 | setup_ui_method |
19 symbols for this command |