Преобразование файла.p12 в.pem с помощью приложения «Терминал» на Mac Ошибка «Нет такого файла или каталога»?

Я экспортировал сертификат «Apple Development IOS Push Service» из Keychain Access и сохранил «apns -dev -cert.p12» в моем рабочий стол. Я хочу включить Apple Push NotificationЯ следил за этими блогами, чтобы преобразовать apns-dev-cert.p12 to apns-dev-cert.pemиз приложения «Терминал»,

http://bhaveshkumbhani.blogspot.in/2011/12/convert-p12-to-pem-for-apns.html
http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
Apple Document RemoteNotificationPG.pdf

Я использовал эти команды в Терминале,

    1.V******-Ms-iMac-2:~ c*****$ openssl pkcs12 -in apns-dev-cert.p12 -out apns-dev-cert.pem -nodes -clcerts
        Response : Error opening input file apns-dev-cert.p12
        Certificates.p12: No such file or directory
    2.V******-Ms-iMac-2:~ c*****$ openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
        Response : Error opening input file apns-dev-cert.p12
        Certificates.p12: No such file or directory
    3.V******-Ms-iMac-2:~ c*****$ ls
            All_iOS_Applications_Document.doc   Pictures
            AppStoreSubmissionSteps.doc     Public
            Desktop                 Sites
            Documents               Softwares
            Downloads               Untitled.txt
            Dropbox                 pic
            Library                 pic.zip
            Movies                  pricelist.txt
            Music                   sms.txt
            Nana_User_Case_Documents.odt
   4. V******-Ms-iMac-2:~ c*****$ cd
   5.V******-Ms-iMac-2:~ c*****$ cd/Users/c*****/Desktop/A
-bash: cd/Users/c*****/Desktop/A: No such file or directory

Я не могу понять, почему терминал всегда говорит «Нет такого файла или каталог"?. Где мне нужно сохранить файл.p12 на моем Mac?

Использую Terminal app Version 2.1.2 (273.1). Mac OS X version 10.6.8.

Не могли бы вы, пожалуйста, что мне нужно сделать? Мне нужно включить APNS с помощью файла.pem. Пожалуйста помогите. Заранее спасибо.

РЕДАКТИРОВАТЬ:

Я добавил пробный код терминала Raywenderlich.com в приложение терминала для Mac

1. V******-Ms-iMac-2:~ c*****$ pwd
/Users/creagx
2. V******-Ms-iMac-2:~ c*****$ cd/ Users/creagx/Desktop/A
-bash: cd/: No such file or directory
13
задан Celada 4 July 2012 в 18:32
поделиться