[erlang-questions] Dealing with public/private keys stored in*.pem files ( resending as plain text )

Niclas Eklund <>
Thu Jan 31 17:28:41 CET 2008



> There is no such function 'decode_rsa_keyfile' at all in 'ssl_pkix'
> module in erts v5.5.5
> 
> Eshell V5.5.5  (abort with ^G)
> 1> m(ssl_pkix).
>  Module ssl_pkix compiled: Date: June 11 2007, Time: 17.57
> Compiler options:  [{d,'VSN',"3.1.1.1"},
> 
> {cwd,"/ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/ssl/src"},
> 
> {outdir,"/ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/ssl/src/../ebin"},
> 
> {i,"/ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/kernel/src"},
> 
> {i,"/ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/ssl/src/../include"},
>                      warn_unused_vars,
>                     debug_info]
>  Object file: /sw/lib/erlang/lib/ssl-3.1.1.1/ebin/ssl_pkix.beam
> Exports:
>           decode_cert/1
>          decode_cert/2
>           decode_cert_file/1
>          decode_cert_file/2
>           module_info/0
>          module_info/1
>  ok
> 
> :-(    Daniel


You need to upgrade.

/Niclas

Eshell V5.6  (abort with ^G)
1>  m(ssl_pkix).
Module ssl_pkix compiled: Date: December 4 2007, Time: 15.04
Compiler options:  [{d,'VSN',"3.9"},

{cwd,"/ldisk/daily_build/otp_prebuild_r12b.2007-12-04_15/otp_src_R12B-0/lib/ssl/src"},

{outdir,"/ldisk/daily_build/otp_prebuild_r12b.2007-12-04_15/otp_src_R12B-0/lib/ssl/src/../ebin"},

{i,"/ldisk/daily_build/otp_prebuild_r12b.2007-12-04_15/otp_src_R12B-0/lib/kernel/src"},

{i,"/ldisk/daily_build/otp_prebuild_r12b.2007-12-04_15/otp_src_R12B-0/lib/ssl/src/../include"},
                    warn_unused_vars,debug_info]
Object file:
/usr/local/otp/releases/otp_beam_solaris8_r12b_patched/lib/ssl-3.9/ebin/ssl_pkix.beam
Exports: 
         decode_cert/1
         decode_cert/2
         decode_cert_file/1
         decode_cert_file/2
         decode_rsa_keyfile/2
         encode_cert/1
         encoded_tbs_cert/1
         module_info/0
         module_info/1
         signature_digest/1
ok






More information about the erlang-questions mailing list